4 ms·
Websockets are bidirectional, which means a slimmer alternative to XHR from the browser. Think of websockets as a TCP pipe without additional overhead. The limi
by austincheney 5y ago
Websockets are bidirectional, which means a slimmer alternative to XHR from the browser. Think of websockets as a TCP pipe without additional overhead. The limitation of websockets is that it is a single socket and data cannot be interlaced, which means it must be queued per direction.