go ahead... be a heretic | |
PerlMonks |
Re^4: Timeout for timeout for an established connectionby zwon (Abbot) |
on Dec 31, 2012 at 10:01 UTC ( [id://1011031]=note: print w/replies, xml ) | Need Help?? |
If you willing to switch to AnyEvent, then AnyEvent::Handle allows you to set inactivity timeouts for reading and writing just as you want. Also, calling delete on array values is deprecated. I'd suggest something like:
In Section
Seekers of Perl Wisdom
|
|