Noode.js ws: Server doesn't know that the client is disconnected <p>We have a problem in our project using the node <a href="https://github.com/websockets/ws" rel="nofollow">ws websockets library</a>. When the client looses network connection the only way to know that the client is disconnected is by sending a ws.ping() from the server. This is too resource consuming for us.</p> <p>Does anybody know if there is a default way to get the ws server to use TCP level keepalives instead of using the ping/pong functionality?</p>