Nathan E Norman wrote:
The Net::Ping module is part of package perl-5.005; there's an open
bug that seems to address this issue:
http://www.debian.org/Bugs/db/55/55427.html
Note that this Net::Ping module tries to create a UDP socket by
default; this doesn't work. I don't think the
could this be a result of the perl5.004* vs. 5.005* situation?
if not, then--what?
#!/usr/bin/perl
use Net::Ping;
my $ip = 208.33.90.84;
my $wait = 5;
$p = Net::Ping-new();
print $ip is alive.\n if $p-ping($ip);
$p-close();
__END__
Bad arg length for Socket::unpack_sockaddr_in, length is
On Mon, May 01, 2000 at 04:20:52PM -0500, w trillich wrote:
could this be a result of the perl5.004* vs. 5.005* situation?
if not, then--what?
#!/usr/bin/perl
use Net::Ping;
my $ip = 208.33.90.84;
my $wait = 5;
$p = Net::Ping-new();
print $ip is alive.\n if $p-ping($ip);
3 matches
Mail list logo