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

socket.id for connection #327

Closed
getnamo opened this issue Jul 20, 2022 · 1 comment
Closed

socket.id for connection #327

getnamo opened this issue Jul 20, 2022 · 1 comment

Comments

@getnamo
Copy link
Owner

getnamo commented Jul 20, 2022

We currently get a session id, but there is also a socket.id. Web clients correctly get this id and it matches the server socket.id.

NB: client code that sets this information
https://github.com/socketio/socket.io-client/blob/8c659bcccf45294cc06d6f4a4328c16bb7f0af83/lib/socket.ts#L314

@getnamo
Copy link
Owner Author

getnamo commented Jul 20, 2022

Support added in 05346a8

New member variable SocketId -

Also received in callback of OnConnected as first param.

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

No branches or pull requests

1 participant