I tried doing like this: so tried: But it doesn’t help Answer this is how i solved the issue:
Tag: io
Where is io.sockets.adapter.rooms in io of nodejs?
https://stackoverflow.com/a/6727354/462608 The short answer: io.sockets.adapter.rooms I analysed io: The sockets output part from io as shown in that answer contains the following: Where is the adapter? Where are the rooms? What is the way to find out adapter and rooms from the output of io? Answer I think you are trying to get room before joining it. First You have