[Tutor] best way to tell if i am connected to the internet
Alan Gauld
alan.gauld at btinternet.com
Tue May 1 09:22:06 CEST 2007
"shawn bright" <nephish at gmail.com> wrote
> i am wondering, what would be the simplest way to get a true/false
> am i connected to the internet ?
>
> right now i am using httplib to fetch a webpage every 20 minutes to
> see, but
> i am thinking that there is a better way,
You don't need to fetch it just connect. If there are no errors you
are online.
Alan G
More information about the Tutor
mailing list