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

RE: Trouble with Net::Ping

Thread Previous | Thread Next
From:
Timothy Johnson
Date:
March 1, 2002 07:13
Subject:
RE: Trouble with Net::Ping
Message ID:
C0FD5BECE2F0C84EAA97D7300A500D5002581014@SMILEY

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>

-- 
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org


--------------------------------------------------------------------------------
This email may contain confidential and privileged 
material for the sole use of the intended recipient. 
If you are not the intended recipient, please contact 
the sender and delete all copies.

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