On 2/21/22 08:57, Mark Waddingham via use-livecode wrote:

If you want to brute force close all sockets then I suggest:


     repeat for each line i in the openSockets
       close socket i
     end repeat

:)

Yeah, that's what I'm doing now since resetall doesn't do anything useful. Displaying the opensockets after a resetall still shows the same sockets as before issuing the command.

And the repeat loop works maybe 50% of the time. It seems that maybe if I have an active blocking read on a socket it doesn't get closed. Could that be the case?

--
 Mark Wieder
 ahsoftw...@gmail.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to