摘要: 服务端 var server = require('ws').Server; var serv = new server({port:8080}); serv.on('connection',function(socket){ socket.send('hello client') socket.o 阅读全文
posted @ 2016-03-07 22:29 刘金宇 阅读(241) 评论(0) 推荐(0) 编辑