On Tuesday, July 30, 2002, at 01:31 , Sudarshan Raghavan wrote: [..] > The system ping command sends ICMP echo packets and by default Net::Ping > sends udp packets. This will work only if the machine you are pinging > supports udp echo requests. For compatibility with system ping command > change > my $pink = Net::Ping->new(); > to > my $pink = Net::Ping->new("icmp"); > > Note: You will need to have root permission to send icmp packets on a > unix machine.
you may want to use 'tcp' instead - which I have found works just as well, and does not require that one run it as root. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]