Hello,

I use this code to check is there is an internet connection :

 tsNETSETTIMEOUTS 60,0,2000,60000,5,1000

 put tsNetHeadSync("https://google.com/";, tHeaders, tResult, tBytes) into 
tRecvHeaders
   
   if tResult begins with "tsneterr:" then
      return false 
   else
      return true 
   end if
 

But the setting for the timeout of tsNETSETTIMEOUTS is not active, I always 
have a 30 seconds timeout.

Is there an other settings ?

Thanks.
_______________________________________________
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