Websoket handshake not working.
I've been softly banging my head against my desk for long enough so i thought i might ask for some help...
I've been trying to establish a websoket connection between a chrome extension and a java server and i' got this far:
The client connects to server and sends handshake along the lines of:
The server then replies:
GET / HTTP/1.1
Then, nothing, I can't see the msg arriving at the client side and i can't send anything to the client anymore.
HTTP/1.1 101 Switching Protocols\r\nUpgrade: websocket\r\nConnection: Upgrade\r\nSec-WebSocket-Accept: qI/0aM9x3AC2E+fLwpdPJpkiMTs=\r\n\r\n
Any idea what i'm doing wrong? Thanks in advance. Smollett.