3 ms·
WebSockets are sockets with a very small bit of goop layered over them. In terms of the state you are talking about, they basically have the same amount of stat
by jerf 15y ago
WebSockets are sockets with a very small bit of goop layered over them. In terms of the state you are talking about, they basically have the same amount of state as a TCP socket, which itself is mostly "connected" or "not connected". So the question of the "statefulness" of websockets, in the sense you mean, is ill defined, because statefulness is or is not added by higher layers, just as with TCP sockets.