XP is just a number | |
PerlMonks |
Re^5: Problem with IO::Select (won't block)by tye (Sage) |
on Mar 01, 2007 at 01:26 UTC ( [id://602634]=note: print w/replies, xml ) | Need Help?? |
"can_read" really means "trying to read won't block", which means that end-of-file will cause can_read to keep returning "true" forever. That might be your problem. You need to detect end-of-file and then (probably) close the socket and stop asking if you can read from it. - tye
In Section
Seekers of Perl Wisdom
|
|