Needs to happen often, in a loop.
 
> How about pinging several hosts that have a pretty good chance of being up.
> www.microsoft.com, www.netscape.com, www.ibm.com, etc, etc. You could also
> ping your local gateway address. If all fail (except for the router as the
> link may be down beyond that, but if the ping to the router fails, then you
> are definetly without connection) then you could assume you've lost
> connection.
> 
> John
> 
> -----Original Message-----
> From: Gary Hawkins [mailto:[EMAIL PROTECTED]]
> Sent: 04 January 2002 12:24
> To: [EMAIL PROTECTED]
> Subject: Computer connected to the internet?
> 
> 
> How can I check whether the system is connected?
> 
> Want to pause the script if connection is lost.  
> 
> /g


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to