What\'s the difference between io.sockets.emit and socket.broadcast.emit? Is it only that broadcast emits to everyone BUT the socket that sends it?
It seems like the
io.sockets.emit will send to all the clients
io.sockets.emit
socket.broadcast.emit will send the message to all the other clients except the newly created connection
socket.broadcast.emit
This Socket.IO Wiki post will help everyone reading this question: