blocshop/sockets-for-cordova

Socket automatically closed after seconds

Opened this issue · 1 comments

Hello,

thanks for this plugin. I manage to open the socket and write messages.
But after waiting some seconds the connection automatically close and I've this message :
"Connection reset by peer"

Is this a bug or normal process ? Do you know how to persist the connection ?

Thanks in advance

I have the same problem. Have you found a solution? Is there an alternative to this plugin, as it appears to be dormant?

I should say that it not the same problem. I've proved that it is the Cordova end that is closing the socket, as I can telnet to the server and the socket remains open. I also do not get the closed by peer message.