Closed bkdrp closed 3 years ago
which version of socket.io do you use for your server? in version 3 of the socket.io protocol there where some changes, the lib is currently not adapted to this.
tracked in: https://github.com/Links2004/arduinoWebSockets/issues/576
You were right, I changed to version 2.3.0 and I walked, thanks I had not noticed that detail.
You were right, I changed to version 2.3.0 and I walked, thanks I had not noticed that detail.
can you send the arduino code and the nodejs script please
Support for Socket.IO 3 has been Implemented Released with version 2.3.1 of this lib
good night, I'm trying to connect a SocketIO server made in nodejs with express and socket.io and communicate events to my esp8266 F12, but I can't connect correctly, since it always appears to me that it could not connect, but in the debug mode of the serial It shows me that http has code 200, which from what I understand it was possible to connect to the web.
this is what the serial throws me:
this is my code in nodejs:
I have tried this code
and also this
But neither of the 2 reads me socketid connections.
This is my test code for the ESP 8266
This is the web socket IO version that I use for arduino.
Please help me to be able to correctly make the code to be able to make the connection and transmit data between the server and the esp8266. Thank you and excuse my English :).