• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OpenTransport: Listening on more than one port.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >OpenTransport: Listening on more than one port. (From: Jens Bauer <email@hidden>)

  • Prev by Date: OpenTransport: Listening on more than one port.
  • Next by Date: Re: Re(2): [Repost] OTCountFreeBytes? (like OTCountDataBytes but for send)
  • Previous by thread: OpenTransport: Listening on more than one port.
  • Next by thread: Is Open Transport Dying?
  • Index(es):
    • Date
    • Thread