Determining if a client PC has an Internet connection

Andrew Dalke adalke at
Sun Sep 19 11:40:36 EDT 2004

Stuart McGraw wrote:
> I'm not sure this is 100% reliable either.  I have several PCs on a home 
> network with a Linux box running a local caching DNS server that is the 
> primary (and sole) DNS server for the Windoze boxes..  That server is 
> always reachable even when my modem internet connection is down.

And speaking of that case, the OP should add support (at least when
not on MS Windows) for the user to specify on-line/off-line.

I had dial-on-demand before I got DSL and it was annoying when
a few programs decided to use the net on there own.  My connection
would dial even when I wasn't doing anything.


More information about the Python-list mailing list