|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re^2: New to perl: IO Select question :(by Crackers2 (Parson) |
| on Aug 20, 2005 at 23:17 UTC ( [id://485475]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I don't think you're right on this one. His code works fine as long as you just replace
with (as in your example)
The you added are not needed, and I'd personally consider doing that more harmful than useful. I also don't understand your comment about $sock not being an "active channel". After you create a server socket you can add it to the read set perfectly fine, and the select will return the socket when there's a connection to accept.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||