Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple socket.ids generated #22

Closed
bosna387 opened this issue Jun 7, 2018 · 3 comments
Closed

Multiple socket.ids generated #22

bosna387 opened this issue Jun 7, 2018 · 3 comments

Comments

@bosna387
Copy link

bosna387 commented Jun 7, 2018

This code is not working alrite....multiple socket.ids generated from the same tab. So sometimes client connects to himself or others connect to non existing client.

@lowtolerance
Copy link

Socket.id identifies the connection, not the client or the session. If you are being assigned multiple ids, it is because you are connecting multiple times.

@darrachequesne
Copy link
Member

Please see the documentation here: https://socket.io/docs/v3/client-socket-instance/

@kiisi
Copy link

kiisi commented May 6, 2022

hello
I have some challenges
Socket.io is generating its ID multiple times

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants