Home
last modified time | relevance | path

Searched refs:socketId (Results 1 – 2 of 2) sorted by relevance

/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/
Dtcp-server.js123 this.serverSocketId = createInfo.socketId;
149 if (info.socketId != this.serverSocketId)
165 if (info.socketId != this.serverSocketId)
171 TcpServer.prototype._onNoMoreConnectionsAvailable = function(socketId) { argument
174 chrome.sockets.tcp.send(socketId, arrayBuffer,
176 chrome.sockets.tcp.close(socketId);
192 function TcpConnection(socketId) { argument
193 this.socketId = socketId;
212 chrome.sockets.tcp.getInfo(this.socketId,
230 chrome.sockets.tcp.setPaused(this.socketId, false);
[all …]
/external/libvncserver/webclients/novnc/include/chrome-app/
Dtcp-client.js46 this.socketId = null;
90 socket.write(this.socketId, buf, this._onWriteComplete.bind(this));
110 socket.write(this.socketId, arrayBuffer, this._onWriteComplete.bind(this));
154 socket.disconnect(this.socketId);
172 this.socketId = createInfo.socketId;
173 if (this.socketId > 0) {
174 socket.connect(this.socketId, this.addr, this.port, this._onConnectComplete.bind(this));
207 socket.getInfo(this.socketId, function (info) {
210 socket.read(that.socketId, null, that._onDataRead.bind(that));