Glossary: Real-Time Apps with WebSockets
socket.id
Also written: socket id
A random, unique id each Socket.IO connection gets. Every socket is also in a private room named after it, so `io.to(socket.id).emit(...)` messages that one client.
Glossary: Real-Time Apps with WebSockets
Also written: socket id
A random, unique id each Socket.IO connection gets. Every socket is also in a private room named after it, so `io.to(socket.id).emit(...)` messages that one client.