Decoding network chars (HTML5 Websocket)

前端 未结 2 786
轻奢々
轻奢々 2021-01-14 20:56

I\'m trying to develop a webchat with HTML5 websocket (with hybi-17 protocol) but I\'ve some problems with chars decoding. This is what I s

2条回答
  •  情书的邮戳
    2021-01-14 21:14

    Using the base server.php and client.html from http://code.google.com/p/phpwebsocket/ along with modification from HTML5 WebSocket with hybi-17 to deal with the single key standard I can successfully send one message to the server before it closes unexpectedly. It's at least a step closer just not sure as of yet why it closes after one successful message.

提交回复
热议问题