Hello Gary,

Friday, January 04, 2002, Gary Hawkins <[EMAIL PROTECTED]> wrote:

>> GH> How can I check whether the system is connected?

>> your OS? and your connection type?

GH> Well, everything in the world preferably (I'm only asking for the world), if
GH> others are going to be able to run it, but W2K and DSL for humble starters.

GH> Maybe check whether a particular port is open?
unfortunatelly, there is no simple and universal answer. providers and
administrators does many specific things, which valid only for their
clients. for example, for a typical client it's enough to make an http
protocol up and running.
second, your "connected" is a very common thing. is your system
connected, if your connect to provider is ok, but provider's network
lies down? or provider lost connection to europe or US?
basically, take a look at modules at
http://search.cpan.org/search?mode=module&query=ping

Things, which shows you, that system is NOT connected:
1. you can not reach your default gateway
2. you can not operate with your provider's DNS server(s)
addresses of gateway and DNS servers you can obtain by running
'ipconfig /all' command on Win* boxes.

Best wishes,
 Maxim                            mailto:[EMAIL PROTECTED]


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

Reply via email to