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 a client connect to the server socket.address is 'undefined:undefined' because socket.handshake.address.address and socket.handshake.address.port don't exist (socket.address is like "127.0.0.1" with string directly not object
If my client (my browser on the same machine - cause I'm in development phase) refresh the page a new connection is created and all api sockets are registered again with the conclusion that when an event is emitted it is emitted many times (depending on a many times the page has been refreshed).
How to avoid the same client to be connected many times and avoiding many registration of socket events for the same client ?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi,
I'm currently facing an issue with Socket.io:
How to avoid the same client to be connected many times and avoiding many registration of socket events for the same client ?
Thanks in advance.
The text was updated successfully, but these errors were encountered: