The documentation part of the
authorJonathan Stowe <gellyfish@gellyfish.com>
Thu, 14 Dec 2000 08:28:14 +0000 (08:28 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 14 Dec 2000 21:48:49 +0000 (21:48 +0000)
Subject: [ID 20001214.002] Net::Ping patch
Message-Id: <Pine.LNX.4.10.10012140805480.19767-200000@orpheus.gellyfish.com>
since the #7529 had already addressed the same problem.

p4raw-id: //depot/perl@8113

lib/Net/Ping.pm

index e3006f9..20a642e 100644 (file)
@@ -460,6 +460,11 @@ received from the remote host and the received packet contains the
 same data as the packet that was sent, the remote host is considered
 reachable.  This protocol does not require any special privileges.
 
+It should be borne in mind that, for both tcp and udp ping, a host
+will be reported as unreachable if if not is not running the
+appropriate echo service.  For Unix-like systems see L<inetd(8)> for
+more information.
+
 If the "icmp" protocol is specified, the ping() method sends an icmp
 echo message to the remote host, which is what the UNIX ping program
 does.  If the echoed message is received from the remote host and