Subject: | Problem with timeout Net::Arping CPAN module |
Date: | Wed, 14 Jul 2010 17:44:22 +0200 |
To: | bug-Net-Arping [...] rt.cpan.org |
From: | Oliver Eales <jester [...] arcor.de> |
if i send arp packets only the first alarm(timeout) on sending an arp
packet seems to work.
use Net::Arping;
my $int="eth1";
my $q=Net::Arping->new();
my $result;
$result=$q->arping(Host => "192.168.100.1",Interface => $int);
print $result ."\n";
$result=$q->arping(Host => "192.168.100.2",Interface => $int);
print $result ."\n";
while the first timeout is working the second ping hangs forever
nevertheless the set timeout.
Environment: Net-Arping-0.03, perl, v5.10.0 built for
x86_64-linux-thread-multi, x86_64 x86_64 x86_64 GNU/Linux