Re: Sleep, NSWorkspaceWillSleepNotification, 30 seconds and the run loop
Re: Sleep, NSWorkspaceWillSleepNotification, 30 seconds and the run loop
- Subject: Re: Sleep, NSWorkspaceWillSleepNotification, 30 seconds and the run loop
- From: Jens Alfke <email@hidden>
- Date: Fri, 2 Oct 2009 12:50:57 -0700
On Oct 2, 2009, at 2:50 AM, email@hidden wrote:
Seems that by the time I get the IOKit sleep notification my Bonjour
service has already disconnected so my packets end up going nowhere
anyway.
How exactly is your Bonjour service implemented? Bonjour itself only
does service discovery, not communication, so you must be using some
other API to open and manage the sockets. I don't believe any of the
system APIs take care of closing sockets on sleep, but maybe you're
using a 3rd party library that does.
—Jens_______________________________________________
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