Open GoogleCodeExporter opened 9 years ago
I am getting alot of errors with this version of phpwebsockets including:
PHP Warning: socket_select(): 5 is not a valid Socket resource
and the Sec-WebSocket-Key2 or Sec-WebSocket-Key1 is not used anymore. Use
Sec-WebSocket-Key.
The above instructions apply to the version of phpwebsocket at:
http://www.wilky.it/phpwebsocket-new-version/
Someone should put that version into this project since it works with the
change to the encode function mentioned above about not masking the data being
sent to the browser. The encode function is needed or the browser doesn't get
the response from the php server. So I got it all to work but only using his
code plus my changes.
Also this github has another version entirly for php websockets which is being
updated regularly:
https://github.com/lemmingzshadow/php-websocket
Original comment by stokesc...@gmail.com
on 30 Jun 2012 at 6:27
Original issue reported on code.google.com by
stokesc...@gmail.com
on 30 Jun 2012 at 6:00