Re: Method to be notified of IP address changes
Re: Method to be notified of IP address changes
- Subject: Re: Method to be notified of IP address changes
- From: "Justin C. Walker" <email@hidden>
- Date: Sat, 28 Jan 2012 14:33:21 -0800
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden