concept all other socket in category node

appears as: ll other sockets
Get Programming with Node.js

This is an excerpt from Manning's book Get Programming with Node.js.

The reason you’re broadcasting the message instead of emitting it is because the client that’s emitting the message is disconnected and can no longer handle that custom event. You can use broadcast to emit to all other sockets even when the emitting socket isn’t disconnected, though.