in reply to Re: IO::Socket Not responding after period of time and traffic!
in thread IO::Socket Not responding after period of time and traffic!
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: IO::Socket Not responding after period of time and traffic!
by rowdog (Curate) on Aug 16, 2010 at 19:26 UTC |