News for hackers. Stuff that matters.
Re:You might not need a WebSocket by Udo on Thursday July 10, 2014 @02:59PM (#8016496)
So if connection resets are the problem, as opposed to router/proxy software problems... In cases where long polling seems to work as you say, why wouldn't an automatic WebSocket reconnect work just as well?
Re:You might not need a WebSocket by jkarneges on Thursday July 10, 2014 @03:31PM (#8016711)
You're right, in that case it'll work just as well. The problem is that it's easy to get wrong, so the developer needs to know what he/she is doing.

Fortunately wrappers like Socket.io, SockJS, Primus, etc can help with this.