It sounds like you've already solved the problem. Use IO::Socket and IO::Select. Read the config file. Open the sockets you need based on the values in the config file. Loop over a select call until you get a connection. Display "it", whatever "it" is.
The Synopsis section at the start of the documentation for both IO::Socket and IO::Select has the code you need. Parsing a config file depends on the nature of the file, but there are lots of modules for lots of types of files, and they all have Synopsis sections as well.
In reply to Re: multiple socket binding
by chromatic
in thread multiple socket binding
by 2bit4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |