• 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: Status Change Notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Status Change Notification


  • Subject: Re: Status Change Notification
  • From: Quinn <email@hidden>
  • Date: Fri, 4 Dec 2009 10:14:04 +0000

At 09:18 +0100 4/12/09, Stefan Lehrner wrote:
How can I receive changes of my Interfaces? Ex. Ethernet is online/offline or when AirPort connects/disconnects to/from a WLAN?

Via the System Configuration framework dynamic store APIs. I don't think we have a sample that addresses your specific needs, but if you search developer.apple.com for SCDynamicStoreCreate you'll find a number of snippets that monitor various other things.


Also, on Mac OS X 10.6 and later you can use the CoreWLAN framework to get detailed information about the state of the AirPort interface. This is not necessary for simple up/down notifications, but it's useful if you want to do anything more complex.

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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: 
 >Status Change Notification (From: Stefan Lehrner <email@hidden>)

  • Prev by Date: Status Change Notification
  • Next by Date: [NSURLConnection connection:didReceiveResponse:] and 404
  • Previous by thread: Status Change Notification
  • Next by thread: [NSURLConnection connection:didReceiveResponse:] and 404
  • Index(es):
    • Date
    • Thread