httputils - timeout/check connection

moster67

Expert
Licensed User
Longtime User
I noted that when using httputils and when there is no connection active on device (such as WIFI-off or no 3G-data available), I don't get an indication in this regard from Httputils.

I have played with httprequest.timeout but nothing seems to change (no indication from httputils that there is no connection or an error-message).

Is it possible somehow to use "try and catch" with httputils so let us say, if there is no response from the remote-server within one second or two, I can make a msgbox show telling user to check his/her connection or server-settings?

Or is it better to use some alternative method to see if there is an active connection (not using httputils)?

I have probably failed to understand what to look for so any help would be most appreciated. Thanks!
 
Last edited:

moster67

Expert
Licensed User
Longtime User
:BangHead:

Thanks thedesolatesoul! It is all written in the log since Erel provided a log-command :BangHead:

Sorry for wasting your time!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…