|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: Reading from Multiple Portsby ahunter (Monk) |
| on Jan 29, 2001 at 12:21 UTC ( [id://54980]=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 wrote a tutorial on this a while back.
The key is select() (or IO::Select) and unbuffered IO.
Note that nonblocking sockets are a bit of a red herring -
you almost never need to use them in practice.
Andrew.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||