in reply to
Reading from Multiple Ports
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.
Comment on
Re: Reading from Multiple Ports
In Section
Seekers of Perl Wisdom