Socket.io Namespaces and Rooms - 401-advanced-javascript-billybunn/seattle-javascript-401d29 GitHub Wiki

Socket.io lets you make namespaces and rooms. These are both ways to segment activity and add specificity to emitted events over a TCP connection.

Namespaces

Namespaces are a way to make different namespaces and paths for socket connections.

Rooms

Rooms are a way to make specific, arbitrary connections between sockets.

Resources

Read

  • Rooms and Namespaces
  • Remote Connections

Bookmark

  • Socket.io Emit Cheatsheet