• 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 and DarkWake
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Network and DarkWake


  • Subject: Re: Network and DarkWake
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Sun, 02 Sep 2012 13:53:38 +0700

On 2 Sep 2012, at 12:34, Matt Patenaude <email@hidden> wrote:

> You might consider using SCNetworkReachability to monitor when the availability of time.apple.com changes.
>
> https://developer.apple.com/library/mac/#documentation/SystemConfiguration/Reference/SCNetworkReachabilityRef/Reference/reference.html

I am already using this.

But the problem seems to be: my app starts running again (because DarkWake), then some time elapses, and finally everything is back to normal.

Trying to use the network (getaddrinfo(), SCNetworkReachability or whatever) before this point seems to lead to problems.

What I really need is something like NSWorkspaceDidDarkWakeNotification which is sent when everything is back to normal after a DarkWake.
But I could not find such a notification.

Kind regards,

Gerriet.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Network and DarkWake
      • From: Matt Patenaude <email@hidden>
References: 
 >Re: Network and DarkWake (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Network and DarkWake (From: Matt Patenaude <email@hidden>)

  • Prev by Date: Re: Network and DarkWake
  • Next by Date: Re: NSDocument package saving invalidates wrapper? Options?
  • Previous by thread: Re: Network and DarkWake
  • Next by thread: Re: Network and DarkWake
  • Index(es):
    • Date
    • Thread