这个确切的代码不起作用,但是,我希望它是这样的: io.sockets.on('connection', function(socket) { socket.on('heartbeat', function() { // Do something here.
確定! 回上一頁