And what if the user is behind a Proxy ?? :-)
in most company`s people are behind a connectbox , or proxy so ping is only
possible to the local network
i would go for another aproach i would just request a small test page on my
own server , even better you could also implement a so called heartbeat
a background thread just request a page every few seconds this way you can
even detect problems on the network to your server during transfers
regards
Michel Posseth [MCP]
"Stacey" <StaceyL@community.nospamschreef in bericht
news:eoUWKTj7GHA.3280@TK2MSFTNGP02.phx.gbl...
Quote:
Look into Ping
http://msdn2.microsoft.com/en-us/lib...ng(VS.80).aspx
>
just ping a known ip address and see if it is reachable.
"adalton" <adalton@newsdalton.comwrote in message
news:eglhmi02dj3@news1.newsguy.com...
Quote:
>I've been trying to figure out how to test for a valid internet
>connection.
>I am able to connect to a valid internet connection, but when it drops,
>or
>if it is not there when my program starts, I get an exception.
>>
>This probably is a newbie question, but I do not even know what or how I
>would trap that error.
>
>