"shawn bright" <[EMAIL PROTECTED]> 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 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to