Open volpino opened 11 years ago
I have the same issue. I realized that making a "for" opening a lot of connections, sometimes one of them falls into onConnect and then i disconnect manually all the others. But this cause another hhuge problem. I don't know why, but the processing of the phone goes HUGE and completely destroys the battery, even after the socket disconnections. Someone knows how to solve that?
Sometimes it happens that onConnect is never called even if the server received the WebSocket connection. Then if I disconnect and I connect again usually it works.
Any hint?
I'm using Android 4.2