How to STOP accepting connections?

Gordon Tillman got at mindspring.com
Mon Oct 11 14:06:40 EDT 2004


Hi Björnke!

Thanks much for the tip:


> Basically you need to close the socket.
>
> I normaly use "resetAll", however that closes every socket.
> You could also check the opensockets for your port, and close that.

That worked perfectly!  When I was accepting incoming sockets on port 
1234, line one of the openSockets was "1234".

I was able to just do a close socket "1234" and that did it!

Your help is much appreciated.

--gordon



More information about the use-livecode mailing list