|Welcome to the Monastery|
Net::Ping troublesby Ovid (Cardinal)
|on Nov 21, 2000 at 04:24 UTC||Need Help??|
Ovid has asked for the
wisdom of the Perl Monks concerning the following question:
I can't seem to get the following to work on my machine:
The output is as follows:
I can successfully ping all of those from the command line. My reading the POD, the holy Cookbook, and several PM posts has failed to enlighten me. Chatterbox commentary has been interesting, but also unenlighting (though I had to run to a meeting after a bit -- maybe I missed something).
Using the icmp ping gives me the following error message:
The tcp ping is unavailable because alarm is not supported on Windows NT (naturally, it doesn't have a decent ping program, either).
About the only thing I can think of is to use the system command and parse the response. Yuck! Anyone know what's wrong with my code?
Using WinNT 4.0 with ActiveState Perl 5.6.0.
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.