Re: Trouble with Net::Ping

2002-03-01 Thread Joseph Bajin
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. [EMAIL PROTECTED] wrote: >Try changing the line below to: > >$t = Net::Ping->new('icmp'); >

Re: Trouble with Net::Ping

2002-03-01 Thread Jan Gruber
Hi, Joseph && list ! On Friday 01 March 2002 02:44 pm, you wrote: > I am appearing to have some > troubles. It appears that it can not reach the hosts specified, but when I > try it manually it works just fine. # use TCP if we're not root, ICMP if we are my $pong = Net::Ping->new( $> ? ("tcp",

RE: Trouble with Net::Ping

2002-03-01 Thread Timothy Johnson
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:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 8:43 AM To: [EMAIL PROTECTED] Subject: Trouble