iphone Programming Glossary: disconnects
Are there more sophisticated alternatives to Apples Reachability class? http://stackoverflow.com/questions/10801527/are-there-more-sophisticated-alternatives-to-apples-reachability-class no internet alert. I just want to do At some point download a XML. When there is no internet show alert. When internet disconnects while downloading the XML show alert. In my app the user taps no download button it all happens automatically in the background...
How to check WiFi is pass through web page login? http://stackoverflow.com/questions/4577926/how-to-check-wifi-is-pass-through-web-page-login
How to Maintain VOIP socket connection in background? http://stackoverflow.com/questions/5987495/how-to-maintain-voip-socket-connection-in-background handler is set to 600. You can use other values to save the battery but it will make worse the detection of the disconnects on the client and server side. And will increase the time between the disconnect and reconnect. BOOL scheduled app setKeepAliveTimeout..
GKSession peer disconnect causes other peers to appear disconnected http://stackoverflow.com/questions/8378169/gksession-peer-disconnect-causes-other-peers-to-appear-disconnected should be able to go to background and come back later. This works fine most of the time. But sometimes when a peer disconnects other devices get notified with didChangeState GKPeerStateDisconnected not only for the device that really disconnected.. the log output on those devices is Service didChangeState peer A disconnected 12345 But after a while when a device disconnects say A again other devices will get additional callbacks for devices that didn't disconnect. For example device C would get.. function Once this happens GKSession seems to be in a bad state and no longer correctly handles connects and disconnects. To get back into a good state I have to hard kill the app on all devices wait a little and start over. I have tried different..
|