Has anyone had any experience with this module? We keep getting the 
following error when we use it in a script to check an IP address.

 -Bad arg length for
Socket::unpack_sockaddr_in, length is 0, should be 16 at
/usr/lib/perl5/5.6.0/i386-linux/Socket.pm line 311.

It is being used as follows:

$p = Net::Ping->new();
$alive = $p->ping($host);
$p->close();
if ($alive){print "$host is alive\n";}

Any suggestions would be appreciated

Best Regards, Jeff Koch
Intersessions.com
--------------------------------------------------




Reply via email to