//The following is the part of socket.io var allSockets = []; io.sockets.on ('connection', function (socket) { //send id socket.emit ('id', socket.id); ...
確定! 回上一頁