How can I send and receive messages on the server side using WebSocket, as per the protocol?
Why do I get seemingly random bytes at the server when
C++ Implementation (not by me) here. Note that when your bytes are over 65535, you need to shift with a long value as shown here.