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

Handling sleep and wake


  • Subject: Handling sleep and wake
  • From: Jamie Curmi <email@hidden>
  • Date: Fri, 5 Apr 2002 18:02:28 +1000

Hi All,

Is there any way to have a cocoa application respond to sleep and wake events?

Basically I want my application to disconnect from a server on sleep, and reconnect automatically on wake. I couldn't find any notification methods that seem to handle this. Can it be done? Is there anywhere with some sample code?

Hope you can help. Thanks.

Jamie
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Handling sleep and wake
      • From: Eric Peyton <email@hidden>
  • Prev by Date: qt components
  • Next by Date: Re: copyPath command doesn't copy as the Finder. Help!
  • Previous by thread: Re: qt components
  • Next by thread: Re: Handling sleep and wake
  • Index(es):
    • Date
    • Thread