Skip to content
Discussion options

You must be logged in to vote

Hey, indeed, the socket doesn't join a room corresponding to its ID when it connects. I don't want to do it by default because it creates a new room automatically whereas it is not always used.

You can still make a socket join a room corresponding to its ID with socket.join(socket.id) when it is connected.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Mohana-Manikandan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants