I have created an ipad app using POCO. When the application starts, a thread is created which starts a Poco::Net::HTTPServer. A UIWebView loads content from this server. This works. However, when the application goes into the background, the server continues to accept connections, but does not respond. And once the device sleeps (i.e. press but do not hold the power button), the server no longer accepts connections (even when the application is opened again). I must terminate and restart in order to continue using the application.
Does anyone have experience using POCO::Net::HTTPServer on an iphone or ipad? Do I need to restart the server after applicationDidBecomeActive?