2 ms·
A lot of bad protocols exist because people didn't think it through enough and a lot of bad protocols exist because people thought it through too much. The pro
by wvenable 16y ago
A lot of bad protocols exist because people didn't think it through enough and a lot of bad protocols exist because people thought it through too much.
The protocol is a bit more readable here:
http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-76 http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-...
The security protocol does seem a little strange: putting numbers into the fields interspersed with random characters and spaces, taking the numbers and dividing them by the number of space characters, and using 2 fields to make harder. There's a lot of dancing here to ensure that the protocol is implemented correctly.