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
When sending a message throgh socket.io-client or socket.io, the listener won't receive any message. E.g: On the client project, when adding a new todo, I send a message to the Socket with "socket.io.emit('todoAdded', todo)" but my server project, listening with "req.app.io.on('todoAdded', todo => {})" won't work. Both libraries are listening to the port 3000, this is the port where the server is running.
The text was updated successfully, but these errors were encountered:
When sending a message throgh socket.io-client or socket.io, the listener won't receive any message. E.g: On the client project, when adding a new todo, I send a message to the Socket with "socket.io.emit('todoAdded', todo)" but my server project, listening with "req.app.io.on('todoAdded', todo => {})" won't work. Both libraries are listening to the port 3000, this is the port where the server is running.
The text was updated successfully, but these errors were encountered: