in reply to multiple socket binding
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: multiple socket binding
by 2bit4 (Initiate) on Feb 23, 2003 at 22:16 UTC | |
by jasonk (Parson) on Feb 23, 2003 at 22:46 UTC | |
by 2bit4 (Initiate) on Feb 23, 2003 at 22:48 UTC |