Commit d6f821eb authored by 何硕's avatar 何硕

test wss

parent 81c0bad3
...@@ -46,7 +46,7 @@ http.listen(3001, function(){ ...@@ -46,7 +46,7 @@ http.listen(3001, function(){
console.log('http listening on *:3001'); console.log('http listening on *:3001');
}); });
var io = require('socket.io')listen(http); var io = require('socket.io').listen(http);
io.on('connection', function(socket){ io.on('connection', function(socket){
console.log("connection"); console.log("connection");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment