Search code examples
phpgoogle-chromewebsocketphpwebsocket

PHP Server for current Websocket Protocol in Google Chrome


Which Procotol uses Google Chrome 18 for WebSockets?

I need a PHP Server for this Protocol. I already tried Projects like php-websocket from nicokaiser or phpwebsocket from georgenava. But i got the same error twice (tried the demos):

Error during WebSocket handshake: 'Sec-WebSocket-Accept' header is missing

Solution

  • According to the MDN WebSocket page and Chromium's Web Platform Status page, Chrome 16+ implements RFC 6455