Checking if the computer is online

Thomas Heller theller at python.net
Thu Sep 18 06:14:27 EDT 2003


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

> You wouldn't have some sample code on how I can use the socket module to
> test if I can connect to a given URL? (I would't want to rely on other
> modules than the ones in the standard library, so therefore I want to
> try this socket approach.)

Sorry, no. But it's easy to figure out yourself.

Thomas




More information about the Python-list mailing list