develooper Front page | perl.beginners | Postings from March 2002

Re: Trouble with Net::Ping

Thread Previous | Thread Next
Joseph Bajin
March 1, 2002 07:24
Re: Trouble with Net::Ping
Message ID:
Hmmm. I tried putting in the icmp instead, but because I am not root I 
am unable to run it. I don't understand why I can ping it from the 
command line just fine but not in this program.

Any more ideas. wrote:

>Try changing the line below to:
>$t = Net::Ping->new('icmp');
>by default Net::Ping uses UDP packets, but not all hosts will respond to
>-----Original Message-----
>From: Joseph Bajin []
>Sent: Wednesday, February 27, 2002 8:43 AM
>Subject: Trouble with Net::Ping
>        $t = Net::Ping->new();

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About