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

Re: Trouble with Net::Ping

Thread Previous | Thread Next
From:
Joseph Bajin
Date:
March 1, 2002 07:24
Subject:
Re: Trouble with Net::Ping
Message ID:
3C7F9D33.7090107@aol.com
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.

tjohnson@sandisk.com 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
>this.
>
>-----Original Message-----
>From: Joseph Bajin [mailto:jbajin@aol.com]
>Sent: Wednesday, February 27, 2002 8:43 AM
>To: beginners@perl.org
>Subject: Trouble with Net::Ping
>
><SNIP>
>
>        $t = Net::Ping->new();
>
><\SNIP>
>



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About