Hacker News new | ask | show | jobs
by hamidpalo 4081 days ago
TCP is usable everywhere. Socket.io builds on top of websockets.

Socket.io is useful when you have legacy web browsers that may not do websockets. Beyond that, it does not bring much over regular websockets.

1 comments

> TCP is usable everywhere.

Not on the web it isn't.

I agree that socket.io offers little over WebSocket except for backwards-compatibility, but the OP's question was more about why you'd want to use WebSocket.