• 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: Listening on an interface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Listening on an interface


  • Subject: Re: Listening on an interface
  • From: Quinn <email@hidden>
  • Date: Fri, 24 Jan 2003 14:02:14 +0000

At 10:37 +0100 23/1/03, Bernd Lvhr wrote:
In short: The user selects a port/service from a popup menu and the app then starts listening on that selected port.

OK, then my recommended solution is to populate the popup with the list of service IDs read from the current set in the SCF preferences. This will include user-visible names for each of the services (ie typically one service per port, but not always--10.2 allows you to configure multiple services on one Ethernet). You can use the service IDs from SCF preferences to look up the service in SC dynamic store to find the current IP address associated with the service (which is what you'd pass to bind).

When you store the service IDs in your preferences, make sure that you also store the parent set ID. As a rule, service IDs only make sense within the context of a set. That is, if the user changes the active set, there's no point looking at your service ID preferences.

How does that sound?

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Listening on an interface
      • From: Bernd Löhr <email@hidden>
References: 
 >Re: Listening on an interface (From: Bernd Löhr <email@hidden>)

  • Prev by Date: Liberating locked up ports
  • Next by Date: Re: Liberating locked up ports
  • Previous by thread: Re: Listening on an interface
  • Next by thread: Re: Listening on an interface
  • Index(es):
    • Date
    • Thread