OpenTransport: Listening on more than one port.
OpenTransport: Listening on more than one port.
- Subject: OpenTransport: Listening on more than one port.
- From: Jens Bauer <email@hidden>
- Date: Mon, 4 Feb 2002 06:56:46 +0100
Hi,
How do I listen to more than one port at a time ?
I use a notifier, and respond to a T_LISTEN, but what should I do if I
want to listen to -say- port 80, port 5517 and port 22 ?
-Would I need to give a list of InetAddress, or would I have to cycle
through each port I'm interested in, and check the error-code ?
I'm shooting at it would be that I need to cycle through the ports I'm
interested in, due to that other applications may be interested in
responding to ports 23, 81 and 5516.
(I do not know exactly what port numbers I will be using, as this is up
to the user, nor will I know how many, but usually very few).
Love,
Jens
--
Jens Bauer, Faster Software.