【发布时间】:2014-08-01 00:17:36
【问题描述】:
io.sockets.on('connection', function(socket) {
socket.object = socket.id;
socket.on('updateObject', function(data) {
// How to update socket.object here for all clients?
});
});
怎么做?
【问题讨论】:
标签: node.js express websocket socket.io