因为Cocos Creator里面已经包含了ws库,所以服务段也用了node.js的ws库(就是npm install ws下下来的库),但是不知道怎么获取ws的ip地址,求教:)
npm install ws