4 ms·
Websocket is not very good for online games because it's TCP based, also there are millions of websockets library in every languages.
by Thaxll 4y ago
Websocket is not very good for online games because it's TCP based, also there are millions of websockets library in every languages.
- paulgb 4y agoRight, WebSocket is fine for a chess game, but you wouldn’t use it for a first-person shooter. If you do want UDP from a browser (via a WebRTC data channel) you first need a side channel to establish the connection, and DriftDB is handy for that.