Checking if the computer is online

Thomas Heller theller at python.net
Thu Sep 18 03:10:34 EDT 2003


Mickel Grönroos <mickel at csc.fi> writes:

> Hi all,
>
> I have a silly question. Is there are simple way to check if the computer
> is connected to the Internet? It seems this should be a pretty
> straight-forward thing to do, but as I am totally unfamiliar with sockets
> and such, I ask for your help before getting my hands dirty.

For windows?

<http://article.gmane.org/gmane.comp.python.windows/969>

Thomas




More information about the Python-list mailing list