socket.emit('message', "this is a test"); //sending to sender-client only ... io.sockets.emit(); //send to all connected clients (same as socket.emit).
確定! 回上一頁