For reading/writing data from several sockets as it arrives, you have to use select or IO::Select or some framework that builds on it (or in some equivalent OS call), for instance POE.
In reply to Re: Managing multiple bi-directional pipes
by salva
in thread Managing multiple bi-directional pipes
by Sp0rk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |