Determining if a client PC has an Internet connection

Cliff Wells clifford.wells at comcast.net
Mon Sep 20 17:14:45 EDT 2004


On Mon, 2004-09-20 at 08:27 -0600, Dave Brueck wrote:
> Cliff Wells wrote:
> > I'm writing an application that needs to know if an Internet connection
> > is available.
> [snip]
> > Is there any way to reliably determine the state of the client's
> > internet connectivity?
> 
> Hi Cliff,
> 
> On a Win32 system you can reliably determine the state of the Internet 
> connection but it requires a fair amount of work. Here's the recipe I use:

Thanks Dave.  I'll add these techniques to my little battery of tests.


-- 
Cliff Wells <clifford.wells at comcast.net>




More information about the Python-list mailing list