Or getting even simpler, (but maybe inappropriate): from the command line:
ping -n 1 w3.org | find "Received" /C
returns 0 or 1
At 03:44 PM 12/22/2004, Mike Wuetherick wrote:
>download a small/tiny file from a specific website that you know is there
>
>if it works, you have an internet connection ;}
>
>mike w
>www.gekidodesigns.com
>
>Fabien wrote:
>>Hello,
>>
>>I am actually trying to find a simple but reliable solution
>>to detect if an internet connection is alive on Win32 OSes
>>beginning with Win95 ?
>>
>>Thanks!
>>
>>Fabien H.
>
|