• 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
OpenTransport: Listening on more than one port.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: OpenTransport: Listening on more than one port.
      • From: Jens Bauer <email@hidden>
  • Prev by Date: Re(2): [Repost] OTCountFreeBytes? (like OTCountDataBytes but for send)
  • Next by Date: Re: OpenTransport: Listening on more than one port.
  • Previous by thread: Re: digest msgs state an incorrect msg count
  • Next by thread: Re: OpenTransport: Listening on more than one port.
  • Index(es):
    • Date
    • Thread