tsnet not detecting internet drop

Tom Glod tom at makeshyft.com
Sun Nov 14 11:42:05 EST 2021


Hello Matthias,

Ahhh I see....  I think I will use a combination of time-outs, but I will
also check for a connection periodically and I think that will about cover
my use case.

Thanks again,

Tom

On Sat, Nov 13, 2021 at 4:55 PM matthias rebbe via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Tom,
>
> 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.
>
> Regards,
> Matthias
>
>
>
>
> > 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
>
>
> _______________________________________________
> 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
>


-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411



More information about the use-livecode mailing list