How do I check the amount of users in a room in socket.io?

前端 未结 0 514
清酒与你
清酒与你 2020-11-21 16:19

I am looking for a way to check the amount of users in a room to make sure that, if there are already 2 players in it, I can block the player from joining. However, the code

相关标签:
回答
  • 消灭零回复
提交回复
热议问题