I'm not sure what the ->connected method is supposed to detect. Testing for not eof instead achieves the expected behavior. In the parent, change
towhile ($req->connected) {
Annountil ( $req->eof ) {
In reply to Re: server doesn't detect closed sockets?
by Anno
in thread server doesn't detect closed sockets?
by kingkongrevenge
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |