tsnet not detecting internet drop

matthias_livecode_150811 at m-r-d.de matthias_livecode_150811 at m-r-d.de
Sat Nov 13 16:54:00 EST 2021


according to the dictionary tsNet does not limit the length of time a request can take.

With tsNetSetTimeouts you can set several timeouts for tsNET.

Maybe that would help in your case.


> Am 13.11.2021 um 22:36 schrieb Tom Glod via use-livecode <use-livecode at lists.runrev.com>:
> Hi Folks,
> I was testing my networking functions ... and error handlling
> I initiated a tsnet asynchronous download of a file,
> started the download and disconnected the wifi.
> tsnet keeps reporting status "loading" .....forever with no time out.
> Is there something I am missing or should the library eventually be
> reporting error?
> Is there something I can do to detect network issues?
> I guess I could periodically check for the internet... but really?
> Has anyone come across this issue? solved it? thought about it?
> Thanks in advance.
> Tom
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the use-livecode mailing list