|
|
|
|
|
by korkybuchek
366 days ago
|
|
> socket.io is probably one of the most unnecessary libraries on this planet. Websockets are already as simple as possible. Eh... While I agree that socket.io is one of those libraries you could probably "write" in an afternoon, and Websockets are simple, there are a couple of things that are kinda painful to rewrite time after time: - keepalives to detect dead sockets
- reconnection logic with backoff
- ability to switch to long-polling for weird environments
- basic multiplexing/namespacing
|
|