in reply to Trouble with Net::Ping

All I can tell you is that it's the same error on Windows 2000 Pro with same code.

Update: I tried changing the protocols around and came up with these results:
$p = Net::Ping->new("udp");
Same error as above
$p = Net::Ping->new("tcp");
The Unsupported function alarm function is unimplemented at C:/Perl/lib/Net/Ping.pm line 308.
$p = Net::Ping->new("icmp");
This last one worked perfectly..
HTH

Replies are listed 'Best First'.
Re: Re: Trouble with Net::Ping
by sagat (Novice) on Feb 01, 2001 at 00:55 UTC
    ICMP works perfectly, thanks for the info.
    Unfortunately, I believe sending ICMP packets requires root privs, which can
    make things difficult if you arent running your scripts as root or SUID.

    I think Ill mail the guy who wrote Net::Ping and get his input on it