sendData (lib AsyncSocket) just before iPhone quit

Posted by Pierre on Stack Overflow See other posts from Stack Overflow or by Pierre
Published on 2010-03-28T14:17:19Z Indexed on 2010/03/28 14:23 UTC
Read the original article Hit count: 386

Filed under:
|
|

I have an iPhone application that send datas via wifi on my mac. I would like to send a logout message to my mac when I quit the iPhone app. I tried to send it on the :

-applicationWillTerminate methode

but it seems that the application shut down my service before. How and where can I send my message just before the exit ?

Thanks a lot !

© Stack Overflow or respective owner

Related posts about asyncsocket

Related posts about iphone