Re: BSD equivalent of OTInetGetInterfaceInfo
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.