2

I am making a browser game using nodejs and socket.io. I am trying to add "rooms" to my game so players can choose what kind of gamemode to play. What I am wondering is if I should be using a socket.io namespace for each gamemode or should I use socket.io rooms to get this done, or is there a better way to do this? Thanks alot.

Hinni
  • 23
  • 6
  • 2
    Possible duplicate of [socket.io rooms or namespacing?](http://stackoverflow.com/questions/10930286/socket-io-rooms-or-namespacing) – Paul Jun 18 '16 at 23:42
  • Does this answer your question? [Sending message to a specific ID in Socket.IO 1.0](https://stackoverflow.com/questions/24041220/sending-message-to-a-specific-id-in-socket-io-1-0) – TmTron May 27 '20 at 12:27

0 Answers0