in reply to Timeout for an established connection
how i can set the timeout for an established connection, which I can not get the data for a long time?
Warning: I've never used IO::Poll. But...
surely the point of polling, is that you only attempt to do a recv(), when you know there is something available.
And when something is available, you recv() just what is available, which means the recv() will complete immediately.
So please explain what you mean by which I can not get the data for a long time"? (The somewhat tortured grammar makes that unclear),
And explain again, why do you need to set a timeout?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Timeout for an established connection
by 0day (Sexton) on Jan 01, 2013 at 12:14 UTC | |
by BrowserUk (Patriarch) on Jan 01, 2013 at 18:53 UTC | |
by 0day (Sexton) on Jan 01, 2013 at 22:20 UTC | |
by BrowserUk (Patriarch) on Jan 01, 2013 at 22:27 UTC | |
by 0day (Sexton) on Jan 02, 2013 at 20:50 UTC | |
by 0day (Sexton) on Jan 02, 2013 at 20:41 UTC | |
| |
by zentara (Cardinal) on Jan 02, 2013 at 10:53 UTC | |
by 0day (Sexton) on Jan 02, 2013 at 19:08 UTC | |
|