in reply to Short pinging script isn't working
This is unlikely to work in a modern network environment (and is a different test to the ICMP ping your command line tool uses).
Try specifying the 'icmp' protocol and see if that helps. The docs say that this is the first arg to the ctor, so perhaps:
The ctor also takes other arguments (including a timeout), which may be of interest to you.my $p = Net::Ping->new('icmp');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Short pinging script isn't working
by grinder (Bishop) on Nov 21, 2007 at 19:07 UTC | |
by andyford (Curate) on Nov 21, 2007 at 20:01 UTC |