📅  最后修改于: 2022-03-11 15:03:03.456000             🧑  作者: Mango
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