Skip Menu |

This queue is for tickets about the Net-Ping CPAN distribution.

Report information
The Basics
Id: 11241
Status: stalled
Priority: 0/
Queue: Net-Ping

People
Owner: Nobody in particular
Requestors: mrbenconrad [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.02
Fixed in: 2.02



Subject: net::ping broken in 5.8.6
Seems net::ping does not work when run via AS perl 5.8.6. I'm on WinXP, SP2. Does not work with XP firewall on or off. Looks related to http://rt.perl.org:80/rt3/Ticket/Display.html?id=33664 Show quoted text
>>>>
use Net::Ping; $host = @ARGV[0]; $p = Net::Ping->new("icmp"); if ($p->ping($host,2)) { print "$host, alive\n"; } else { print "$host, dead\n"; } $p->close(); Show quoted text
>>>
>perl -v
This is perl, v5.8.6 built for MSWin32-x86-multi-thread Show quoted text
> perl ping1.pl 192.168.16.3
icmp socket error - at ping1.pl line 3 C:\Perl584\bin>perl -v This is perl, v5.8.4 built for MSWin32-x86-multi-thread Show quoted text
>perl ping1.pl 192.168.16.3
192.168.16.3, alive C:\>diff -qs c:\perl\lib\net\Ping.pm c:\Perl584\lib\net\Ping.pm Files c:\perl\lib\net\Ping.pm and c:\Perl584\lib\net\Ping.pm are identical
On Wed Jan 26 10:46:12 2005, guest wrote: Show quoted text
> Seems net::ping does not work when run via AS perl 5.8.6. I'm on > WinXP, SP2. Does not work with XP firewall on or off. Looks related > to http://rt.perl.org:80/rt3/Ticket/Display.html?id=33664 >
> >>>>
> use Net::Ping; > $host = @ARGV[0]; > $p = Net::Ping->new("icmp"); > if ($p->ping($host,2)) { > print "$host, alive\n"; > } > else { > print "$host, dead\n"; > } > $p->close();
> >>>
> >perl -v
> This is perl, v5.8.6 built for MSWin32-x86-multi-thread
> > perl ping1.pl 192.168.16.3
> icmp socket error - at ping1.pl line 3 > > > C:\Perl584\bin>perl -v > This is perl, v5.8.4 built for MSWin32-x86-multi-thread
> >perl ping1.pl 192.168.16.3
> 192.168.16.3, alive > > > C:\>diff -qs c:\perl\lib\net\Ping.pm c:\Perl584\lib\net\Ping.pm > Files c:\perl\lib\net\Ping.pm and c:\Perl584\lib\net\Ping.pm are > identical > >
Do you still see this problem with an up to date Perl?
Non-responsive ticket...