I simply use

   dim http as new HTTPSocket
   http.yield = true
   dim temp as String = http.get("http://www.apple.com";, 5)
   if len(temp) > 0 then
     return true
   else
     return false
   end if

Johan Simons

On 09/04/2007, at 10:56 AM, Joshua Coventry wrote:

> How do I check if the user of my program has an active Internet
> connection? My program can check for updates online, but if the user
> does not have any Internet connection, it makes the application
> beachball (I'm on OS X) and it keeps doing that unless I force quit
> the app. Any suggestions on how to prevent this behavior?
>
> --
> Joshua Coventry
> http://lowendmac.com/coventry/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to