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
{{ message }}
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
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 ?
Activity
Petro-Kashpurenko commentedon Mar 29, 2015
+1 UP
georgeportillo commentedon Apr 15, 2015
This is also something I encountered
javierbq commentedon May 18, 2015
+1 this drove me crazy! I just added logic to the front end so it would ignore repeated messages.
kingcody commentedon Jul 5, 2015
See #490
feat(model): abstract model events to a standard EventEmitter