bigup401 has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use 5.010; use Net::Ping; $addr = <stdin>; chomp $addr; $p = Net::Ping->new("icmp"); if( $p->ping($addr)){ print "$addr is alive"; } else { print "$addr appear to be down"; } $p->close();
icmp socket error an attempt was made to access a socket in a way forbidden by its access permission
am using win7
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: icmp socket error
by hippo (Archbishop) on Feb 08, 2015 at 17:49 UTC | |
by VinsWorldcom (Prior) on Feb 08, 2015 at 19:10 UTC |