So I’m working on a project in angular and I’m passing data to and from node using socket io.
Part of the application is a chat and I’m working on getting a count of currently online users.
As many parts of the app require a socket io connection, I open them in multiple services. This has started to cause an issue when working out online users as I receive multiple disconnects presumably from the multiple times I open a connection. Is there a better way to approach this ?
Aucun commentaire:
Enregistrer un commentaire