Hacker News new | ask | show | jobs
by ofrzeta 432 days ago
Why not use a library like socket.io? It handles the socket lifecycle, reconnection etc.