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: "Mark E. Armstrong" <email@hidden>
- Date: Sat, 28 Jan 2012 14:56:29 -0800
- Thread-topic: Method to be notified of IP address changes
Thanks Justin... An example is just what the doctor ordered!
> -----Original Message-----
> From: darwin-dev-bounces @lists.apple.com
> [mailto:darwin-dev-bounces @lists.apple.com]
> On Behalf Of Justin
> Sent: Saturday, January 28, 2012 2:33 PM
> To: Darwin development mailing list
> Subject: Re: Method to be notified of IP address changes
>
>
> 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:
> dev/email@hidden
>
> This email sent to email@hidden
_______________________________________________
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