What the difference between io.emit and socket.emit code example
Example: io.emit vs socket.emit
socket.emit('message', "this is a test"); //sending to sender-client only
io.emit('message', "this is a test"); //sending to all clients, include sender