Closed alaa-fouzai closed 4 years ago
Afaik namespaces are not supported by the library that this library is built on or at least the feature is not fully tested yet. I think you would have to start the implementation there.. https://github.com/Links2004/arduinoWebSockets/issues/520
im using this code to connect to a nodejs server arduino code :
but the path in webSocket.begin("192.168.1.3", 3000,path); doesn't seem to work
my node js code
every time the esp trys to connect the node js server crashes and i get this error
the code works fine when i change the node js code to
but i need the path to separate node js clients from other clients (web app ) so the esp connects to 192.168.1.3:3000/news and other clients connect to 192.168.1.3:3000/webapp i tried playing around with the path but other then removing it entirely or putting the default "/socket.io/?transport=websocket" it always crashes my server the other web app connects fine on 192.168.1.3:3000/webapp only the esp have problems and crashes the server