• 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: local host IP address on X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: local host IP address on X


  • Subject: Re: local host IP address on X
  • From: Vincent Lubet <email@hidden>
  • Date: Tue, 16 Jul 2002 11:41:42 -0700

On Tuesday, July 16, 2002, at 02:32 AM, Quinn wrote:

The best fix is to use the System Configuration framework APIs to build an IP address list, and also to be notified when that list changes. Alternatively, you can use the get_ifi_info routine (on page 434 of Stevens) to get the full list of IP addresses and choose amongst them.

At the BSD level I strongly recommend to use the library routine getifaddrs() instead of doing all that work yourself with get_ifi_info.

Vincent
_______________________________________________
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: local host IP address on X
      • From: Quinn <email@hidden>
References: 
 >Re: local host IP address on X (From: Quinn <email@hidden>)

  • Prev by Date: Re: CFNetwork crash!
  • Next by Date: Re: CFNetwork crash!
  • Previous by thread: Re: local host IP address on X
  • Next by thread: Re: local host IP address on X
  • Index(es):
    • Date
    • Thread