Welcome to the Monastery | |
PerlMonks |
Re^2: IO::Socket Not responding after period of time and traffic!by Corion (Patriarch) |
on Aug 15, 2010 at 13:08 UTC ( [id://855142]=note: print w/replies, xml ) | Need Help?? |
Actually, wait returns the PID of the just reaped child, and under the Windows fork emulation, emulated forked children get negative PIDs, so a check for equality to -1 sounds saner than checking for >0.
In Section
Seekers of Perl Wisdom
|
|