Progress on preventing multiple instances of a program fromrunning in windows

Dar Scott dsc at swcp.com
Fri Dec 3 13:12:00 EST 2004


On Dec 3, 2004, at 10:59 AM, Lynch, Jonathan wrote:

> My understanding of ports and sockets is weak - but shouldn't it be 
> able
> to write to socket "127.0.0.1:48953" without setting itself up as
> listening to port 48953?

If any application on the computer is listening on that port, then then 
a connection to it can be opened.

There are less constraints for UDP.

The particular "feature" that came up is that on some OSes, Rev seems 
to force a TCP listen (Rev accept) to succeed even then there is a 
clash.  As Alex Tweedly showed (that is, as I interpret his results), 
other apps typically do not do this.

Dar
****************************************
     Dar Scott Consulting
     http://www.swcp.com/dsc/
     Programming Services
****************************************



More information about the use-livecode mailing list