• 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
Problems with Rendzvous waking from sleep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with Rendzvous waking from sleep


  • Subject: Problems with Rendzvous waking from sleep
  • From: Francisco Tolmasky <email@hidden>
  • Date: Sun, 30 May 2004 02:15:40 -0700

I am having quite the headache with Rendezvous and waking from sleep. For background info, my application announces services using Rendezvous, and then takes over with distributed objects to establish the actual connection/communication. Now, I put two buttons on my application, open and close, to open and close the connection. If I press close on one end, then open, things work fine, on the other computers i see the service disappear the reappear. BUT, if I register for the willsleep and didwake notifications, the program appropriately closes the connection before sleep, but something strange happens when it awakes. It starts announcing the services again, but on the other end I keep getting port timeouts when trying to create the NSConnection, specifically on the [connection rootProxy] call. Now, I would like to not put an explicit timer to wait 5 seconds or whatever before announcing the service but this seems to be the only solution. Does someone know whats going on?

Thank you in advance,

Francisco Tolmasky
email@hidden
http://www-scf.usc.edu/~tolmasky/
_______________________________________________
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.


  • Prev by Date: PDF Title with Quartz
  • Next by Date: Re: "UseWebKit" in NSAttributedString
  • Previous by thread: PDF Title with Quartz
  • Next by thread: Bindings does not work with DO
  • Index(es):
    • Date
    • Thread