OSX 10.14.6
Android 7
Trying to find out in a standalone if there is an internet connection, I am doing this on a function:
Code: Select all
put url "http://www.google.com" into tURL
if tUrl is empty then...no connection
I tried to add a
Code: Select all
set the socketTimeoutInterval to 1000
Off course, if I enable wifi, everything works fine.
Why is this? How differently can I do it?
Thankyou