If you know your history,Bob Marley, Buffalo Soldier
Then you would know where you coming from
var connection = new WebSocket("ws://localhost:3001");
connection.onopen = function(){};
connection.onmessage = function(msg){};
connection.onerror = function(error){};
connection.onclose = function(){};
connection.send( x );
connection.close();
var server = ws.createServer(function(connection){});
server.listen(port);
connection.sendText(msgAsString);
connection.close(code, reason);
connection.on("connection", function(){});
connection.on("text", function(){});
connection.on("close", function(){});
connection.on("error", function(){});