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

Listening on an interface


  • Subject: Listening on an interface
  • From: Bernd Löhr <email@hidden>
  • Date: Wed, 22 Jan 2003 13:45:16 +0100

Hi,

I'm new to this list, sorry if this has been asked before (I searched the archives, though).

Under Mac OS X, how can I bind to a specific interface if there are more than one?

Preferably I want to give the user a list of the active network configuration ports to chose from. Our IP server should listen on that interface only, then. Default would be to listen on all.
With the aid of MoreSCF and TN 1145 I got the list of network port names as well as the BSD port names. To get to the corresponding IP addresses, I could iterate through the sc list as in TN 1145, but do the IPs of PPP connections show up when connected? Iterating with OTInetGetInterfaceInfo won't reveal the interface name.

And: How can I force a PPP connection if I only want to listen? Under traditional Mac OS opening a provider would automatically connect and give me an IP address to bind to...

Any thoughts/hints are welcome!

Bernd
_______________________________________________
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: Quinn <email@hidden>
  • Prev by Date: Re: PPPoE and UDP
  • Next by Date: Re: Listening on an interface
  • Previous by thread: Re: PPPoE and UDP
  • Next by thread: Re: Listening on an interface
  • Index(es):
    • Date
    • Thread