Hi, I am using the socket.io with websocket now. And it works nice with current settings. But the socket.io has some memory leaks with websocket and I want to change it to xhr polling. But when I tried to convert the settings to work just with xhr polling, the ios client starts to disconnects from time to time. I debugged and saw that I took a disconnect event at onData method. The code tries to decode the received data and I guess it does it wrong. The code tries to get the idx from result object and converts the "�97�5" this value to 0. and just disconnects. I guess there is a problem in server or client and dont know how to act.
You can see the watch data in screenshot.
I tried on both socket.io v.0.9.10 and v 0.9.13 both returns the same result. I guess on xhr calls socket.io returns the data by joining multiple events/messages/jsons which this version does not support.
i guess also this is a related issue.
has this anything to do with this?
Any updates on this one? I have this problem too...