Hi, ive just finished adding LAN network support for my game using luaSocket. Everything works perfectly on the simulator, however on the device i lose the ability to dispatch my receive events in the app after about an hour. Basically i have written a network library that dispatches runtime events when new tcp packets are received. After about an hour i notice i no longer get any events, originally i though the network connection was dropping out or something but after connecting the device up to xcode organiser to watch the console, i found that its actually failing when attempting to displatch a runtime event.
clientReceive - dispatching clientreceive event
CommCenter[61] : No more assertions for PDP context 0. Returning it back to normal.
CommCenter[61] : Client [com.apple.persistentconnection[apsd,73]] is telling PDP context 0 to go active.
CommCenter[61] : Scheduling PDP tear down timer for (376838182.514994) (current time == 376837882.515000)
So i can see that i am calling my dispatch event code, then i get this strange error in the log and i dont receive my event.
Any help/suggestions would be greatly appreciated
Thanks,
Craig [import]uid: 110197 topic_id: 33837 reply_id: 333837[/import]
Always one or the other with this samlpe app.