On Jan 28, 2012, at 12:45 , Jens Alfke wrote:
On Jan 27, 2012, at 5:50 PM, Mark E. Armstrong wrote:
I am looking for a way to be notified of an IP address change, synchronously or asynchronously. What is the equivalent to NotifyAddrChange in Windows or NETLINK in Linux?
Use the SystemConfiguration framework to register for notifications of changes to the status of a network interface.
Also, see scutil(8). This provides a command-line interface to the functionality of the SystemConfiguration framework. The source is available on Apple's Darwin site, so you can see how you might use the APIs. HTH Justin -- Justin C. Walker, Curmudgeon at Large Director Institute for the Enhancement of the Director's income ----------- Question 43: What if the hokey pokey really *is* what it’s all about? -- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app... This email sent to site_archiver@lists.apple.com