• 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: Detect network interface changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detect network interface changes


  • Subject: Re: Detect network interface changes
  • From: Peter Sichel <email@hidden>
  • Date: Sun, 19 Jul 2009 11:00:46 -0400

On Jul 19, 2009, at 9:27 AM, Jerry Krinock wrote:

I would say that you are going to have to write a little helper tool -- a daemon or agent -- which will be launched and "kept alive" by launchd. Your helper tool will do nothing but sit and watch for network interface changes. (I don't know how to do that). When it sees such a change, your helper tool will launch your application.

An easy way to detect network interface changes is to ask the System Configuration Framework (SCF) to notify you when an IPv4 address changes (per Quinn's example MoreSCF). I've used this technique in several of my own products.


- Peter Sichel
  Sustainable Softworks
  www.sustworks.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Detect network interface changes (From: Ian Mark Salvame <email@hidden>)
 >Re: Detect network interface changes (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Detect network interface changes
  • Next by Date: Re: Detect network interface changes
  • Previous by thread: Re: Detect network interface changes
  • Next by thread: Re: Detect network interface changes
  • Index(es):
    • Date
    • Thread