BobS wrote:

> Maybe retry 3 times? A weak connection may not be there one minute and then 
> be there the next. If any of the 3 times fails, report to the user that the 
> connection is weak. But if you are getting this with strong signals then it's 
> obviously something else. 


Thanks, Bob. In all cases there is actually a connection and the app is able to 
easily access URLs. The problem lies in the incorrect result reported by the 
reachability function. 
'reachabilityInfo' returns empty (meaning no Internet connection) even though 
the Internet is quite accessible by both this app and other applications.

Toggling Airplane mode or WIFI, itself, jogs the function into reporting 
truthfully. Once you do that then everything is fine afterwards. But it should 
be correct from the get-go.

Jim Lambert
_______________________________________________
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