On 2 Sep 2012, at 12:34, Matt Patenaude <m...@mattpatenaude.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to