• 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: Method to be notified of IP address changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Method to be notified of IP address changes
      • From: Peter Speck <email@hidden>
    • RE: Method to be notified of IP address changes
      • From: "Mark E. Armstrong" <email@hidden>
References: 
 >Method to be notified of IP address changes (From: "Mark E. Armstrong" <email@hidden>)

  • Prev by Date: Method to be notified of IP address changes
  • Next by Date: RE: Method to be notified of IP address changes
  • Previous by thread: Method to be notified of IP address changes
  • Next by thread: RE: Method to be notified of IP address changes
  • Index(es):
    • Date
    • Thread