3 ms·
Socket.io is a decent WebSocket wrapper which also reconnects, and of course has lots of other features.
by nawitus 13y ago
Socket.io is a decent WebSocket wrapper which also reconnects, and of course has lots of other features.
- joewalnes 13y agoSocket.IO is awesome, but my understanding is that Socket.IO also requires server side components as it adds a layered protocol on top of the WebSocket transport.
- nawitus 13y agoThat's true! It's another protocl.
- james33 13y agoSocket.io used to be good, but it is littered with bugs and has been promising 1.0 for nearly 2 years without a single update. We switched to SockJS a few months ago and haven't looked back.
- atrilumen 13y agoIndeed. And Primus is nice if you want fallbacks and additional features (like reconnects with randomized exponential back-off). https://github.com/primus/primus https://github.com/primus/primus