resetall?

Mark Wieder ahsoftware at sonic.net
Mon Feb 21 13:09:36 EST 2022


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
  ahsoftware at gmail.com



More information about the use-livecode mailing list