user3206
0
Q:

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
0

New to Communities?

Join the community