【发布时间】:2013-07-16 07:05:36
【问题描述】:
如何从服务器 (socket.io) 获取 Id (unical key)?
我厌倦了clients[socket.id] = socket;
但我得到错误
connections property is deprecated. use getconnections() method
有什么想法吗?
【问题讨论】:
-
您能否为我们提供更多代码以进一步帮助您?
标签: javascript node.js websocket socket.io