in reply to Re: Network or no network???... That is the question!
in thread Network or no network???... That is the question!
As to checking for an IP address, IIRC, on *nix it is often the 'ifconfig' command (check your man or info pages for the needed options), and on Windows (NT, 2K, and XP), the 'ipconfig' command (I can't recall if there is an equivalent for 9x).
As to opening a connection to a known IP/port, you could also try pinging the default gateway as well, perhaps using the Net::Ping module.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^2: Network or no network???... That is the question!
by dws (Chancellor) on Jun 30, 2002 at 18:06 UTC |