Re: OpenTransport: Listening on more than one port.
Re: OpenTransport: Listening on more than one port.
- Subject: Re: OpenTransport: Listening on more than one port.
- From: Jens Bauer <email@hidden>
- Date: Mon, 4 Feb 2002 07:07:34 +0100
Hi again,
Please ignore the message I wrote earlier. The answer is obvious.
I create 3 endpoints, which I bind to each their own port.
(Sorry I was getting tired, it's 7 in the morning here, time to go to bed.)
On Mon, 4 Feb, 2002, Jens Bauer <email@hidden> wrote:
>
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.