-
Notifications
You must be signed in to change notification settings - Fork 549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong data sent to C++ libWebSockets server #51
Comments
your log from the ESP looks like the serial has lost some data. |
Version of WS is 1.4, last commit, TCP in sync mode. |
have send the message (s) from ESP in client and server mode not have any problems here. can you check if nodejs is working as server in you case? |
Yes, it works with node.js, so i suppose it's cpp libewbsockets issue. Thanks. |
I' m using esp8266 with this library to connect as a client to a C++ websocket server.
With "WebSocketClient" example, connection and handshake complete successfully, but when I send a simple text message (like "hello"), the C++ server receive the "hello" text, plus some incomprehnsible characters.
In addition, my server crash because the message is always bigger than buffer of server, whatever the size.
All libs are RFC6455 (websocket v13) compilant.
Here part of ESP8266 log:
And here C++ Server
Someone can help me ?
The text was updated successfully, but these errors were encountered: