Searched refs:socketInfo (Results 1 – 2 of 2) sorted by relevance
181 TcpServer.prototype._onSocketInfo = function(tcpConnection, socketInfo) { argument183 this.callbacks.connect(tcpConnection, socketInfo);194 this.socketInfo = null;207 TcpConnection.prototype.setSocketInfo = function(socketInfo) { argument208 this.socketInfo = socketInfo;286 TcpConnection.prototype._onSocketInfo = function(callback, socketInfo) { argument290 this.socketInfo = socketInfo;291 callback(this, socketInfo);
49 function onAcceptCallback(tcpConnection, socketInfo) { argument50 var info="["+socketInfo.peerAddress+":"+socketInfo.peerPort+"] Connection accepted!";52 console.log(socketInfo);58 var info="["+socketInfo.peerAddress+":"+socketInfo.peerPort+"] "+line;