You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe it's feasible to add the ability to share the port with web server.
ESPAsyncWebServer can do this. If this library supports it too, it would ease the migration between the libraries (no websocket url change would be necessary).
The text was updated successfully, but these errors were encountered:
I would love this feature. Currently this websocket lib is more stable than the async socket but i can't force it to work on the same port.
I tried it like this:
And connect to it with JS but it is refusing the connection becaue the asyncwebserver is running on the same port
AsyncWebServer server(80);
If i call the WebSocketsServer with port other than 80 it is working properly. :(
The problem with this approach that if i want to port forward my ESP to the outter network i have to forward more than one port and this is frustrating.
Thank you for your suggestion. I will investigate this addHook but i'm using asyncwebserver and i can see the addHook is only implemented on esp8266 regular server.
Maybe it's feasible to add the ability to share the port with web server.
ESPAsyncWebServer can do this. If this library supports it too, it would ease the migration between the libraries (no websocket url change would be necessary).
The text was updated successfully, but these errors were encountered: