in reply to Timeout for an established connection
SO_RCVTIMEO parameter sets timeout for recv call. As you're using poll you have to handle timeouts yourself. After each poll check if there are sockets which didn't have data to read for more than 10 seconds and close them.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Timeout for timeout for an established connection
by 0day (Sexton) on Dec 30, 2012 at 16:37 UTC | |
by 0day (Sexton) on Dec 30, 2012 at 22:52 UTC | |
by zwon (Abbot) on Dec 31, 2012 at 10:01 UTC |
In Section
Seekers of Perl Wisdom