"be consistent" | |
PerlMonks |
Re: Does Net::Ping have concurrency issues?by isotope (Deacon) |
on May 30, 2003 at 18:05 UTC ( [id://261910]=note: print w/replies, xml ) | Need Help?? |
Ok, duh, moved Net::Ping->new() to within the child block so each child instantiates its own $pinger. Now it works. I guess Net::Ping tracks the responses by PID. Update: Ok, brain fart... You're right, Thelonius, it's using one socket per instantiation instead of creating a new one for each ping. I'll blame my allergy attack. --isotope
In Section
Seekers of Perl Wisdom
|
|