![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Using select() on only one socketby Anonymous Monk |
on Sep 04, 2005 at 15:20 UTC ( #489056=note: print w/replies, xml ) | Need Help?? |
I see you solved your problem, but thought
I'd mention this anyway since so few people
realize it.
When select() says a file descriptor is readable it really means that it *might* be readable. You still have to use nonblocking I/O to be sure you won't block.
In Section
Seekers of Perl Wisdom
|
|