• 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: network configuration change notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: network configuration change notification


  • Subject: Re: network configuration change notification
  • From: Michael Brian Bentley <email@hidden>
  • Date: Fri, 27 Nov 2015 16:56:41 -0800
  • Organization: Crenelle Technologies

The question regarding kNotifySCNetworkChange comes from an abundance of caution. It seems to work just fine, but as you say there may be a better way.

I've been using it to indicate when to check for an SSID change.

-Mike

On 11/26/15 12:25 AM, Quinn "The Eskimo!" wrote:
On 25 Nov 2015, at 18:47, Michael Brian Bentley <email@hidden> wrote:

With the switch to NEHotspotHelper, I wonder if the following still works to indicate a network configuration change occurred?
"com.apple.system.config.network_change" is actually defined as a symbolic constant, kNotifySCNetworkChange from <notify_keys.h>, so you should use that rather than a hard-coded string because it makes it clear that you're using public API.

Beyond that, I'm not sure why you're concerned that NEHotspotHelper might impact on this.  I fully expect this notification to work as well as it ever did.

What behaviour are you keying off this notification?  In most cases there's a better approach.

Share and Enjoy
--
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

_______________________________________________
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: 
 >network configuration change notification (From: Michael Brian Bentley <email@hidden>)
 >Re: network configuration change notification (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: Re: Can't discover bonjour service
  • Previous by thread: Re: network configuration change notification
  • Next by thread: Can't discover bonjour service
  • Index(es):
    • Date
    • Thread