socket.IO-objc icon indicating copy to clipboard operation
socket.IO-objc copied to clipboard

Network disconnects before timeout

Open Ahmed-Ali opened this issue 10 years ago • 1 comments

I'm facing a little issue with the disconnect timeout. When the device is disconnected (due to bad 3g connection or wifi disconnection), the socket.io onDisconnect is called immediately even before the timeout configuration. This is understandable, but the issue is that if I tried to re-connect when a connection is become available, socket.io requests a new session id, which causes issues with our node.js server.

Any suggestions?

Ahmed-Ali avatar Apr 17 '14 15:04 Ahmed-Ali

+1

niksmac avatar May 19 '14 13:05 niksmac