• 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: Sleep, NSWorkspaceWillSleepNotification, 30 seconds and the run loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Sleep, NSWorkspaceWillSleepNotification, 30 seconds and the run loop
      • From: "email@hidden" <email@hidden>
References: 
 >Re: Sleep, NSWorkspaceWillSleepNotification, 30 seconds and the run loop (From: Jens Alfke <email@hidden>)
 >Re: Sleep, NSWorkspaceWillSleepNotification, 30 seconds and the run loop (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: View shifted up on iPhone simulator
  • Next by Date: Re: View shifted up on iPhone simulator
  • Previous by thread: Re: Sleep, NSWorkspaceWillSleepNotification, 30 seconds and the run loop
  • Next by thread: Re: Sleep, NSWorkspaceWillSleepNotification, 30 seconds and the run loop
  • Index(es):
    • Date
    • Thread