• 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: BSD equivalent of OTInetGetInterfaceInfo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BSD equivalent of OTInetGetInterfaceInfo


  • Subject: Re: BSD equivalent of OTInetGetInterfaceInfo
  • From: Quinn <email@hidden>
  • Date: Tue, 27 Jan 2004 10:44:00 +0000

At 11:20 +0100 27/1/04, Sascha Kratky wrote:
under Mac OS X which BSD function can be used instead of OTInetGetInterfaceInfo to obtain the machine's IP address?

The routine you want is getifaddrs. However, you need to be careful about using this information. See the discussion in DTS Technote 1145 "Living in a Dynamic TCP/IP Environment" for details about the potential problems.

<http://developer.apple.com/technotes/tn/tn1145.html>

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.

References: 
 >BSD equivalent of OTInetGetInterfaceInfo (From: Sascha Kratky <email@hidden>)

  • Prev by Date: Re: Airport Extreme card and MoreSCF
  • Next by Date: Re: How to time speed of "write" on unix socket?
  • Previous by thread: BSD equivalent of OTInetGetInterfaceInfo
  • Next by thread: RE: BSD equivalent of OTInetGetInterfaceInfo
  • Index(es):
    • Date
    • Thread