wsServer
wsServer copied to clipboard
Server closes the socket after a time. How do I ensure it stays open?
Description
The server socket closes after a time ( varies )
I'm not sure if it's the browser/javascript end that is abandoning the connection or the server itself that's closing it .......
My web page tries to send a query to my socket and I get a 'WebSocket is already in CLOSING o CLOSED state' console message on the browser console.