See select or IO::Select, which can handle multiple sockets. And maybe you can show some self-contained simple code that demonstrates what you're doing and where you encounter problems?
In reply to Re: Poll with socket handlers
by Corion
in thread Poll with socket handlers
by spmlingam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |