Problems? Is your data what you think it is? | |
PerlMonks |
Re: Timeout for an established connectionby BrowserUk (Patriarch) |
on Dec 31, 2012 at 13:54 UTC ( [id://1011063]=note: print w/replies, xml ) | Need Help?? |
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? With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|