App Engine: Keep Socket Open more than 2 Minutes

serioslyserios

New Member
Using the App Engine Trusted Tester Sockets to connect to APNS. Writing to socket works fine.But the problem is that the Socket gets reclaimed after 2 minutes of inactivity. It says in the Trusted Tester Website that any socket operation keeps the socket alive for further 2 minutes. It is nicer to keep the socket open until APNS decides to close the connection.After trying pretty much all of the Socket API methods short of writing to the Output Stream, Socket gets closed after 2 minutes no matter what. What have I missed?Deployed on java backend.
 
Back
Top