yaddesign / phpwebsocket

Automatically exported from code.google.com/p/phpwebsocket
0 stars 0 forks source link

Getting weird characters at the server side. #69

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I just used the same code given here for both server and the client, handshake 
is fine. But when i try to send a message as normal as "Hello", the server 
receives weird characters like this "�����u�". This is happening 
whatever i try. I have trimmed the first and last character after receiving and 
add those two before writing. 
Please help me

Original issue reported on code.google.com by chethan678 on 13 Dec 2013 at 11:05

GoogleCodeExporter commented 9 years ago
Forgot to add this, I get this error in chrome "WebSocket connection to 
'ws://localhost:9251/socket/server.php' failed: Unrecognized frame opcode: 13 "

Original comment by chethan678 on 13 Dec 2013 at 11:06