Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/
Dmain.js2 var tcpServer; variable
73 if (tcpServer) {
74 tcpServer.disconnect();
76 tcpServer = new TcpServer(addr, port);
77 tcpServer.listen(onAcceptCallback);
82 if (tcpServer) {
83 tcpServer.disconnect();
84 tcpServer=null;
89 if (tcpServer) {
90 return {isConnected: tcpServer.isConnected(),
[all …]
Dtcp-server.js24 var socket = chrome.sockets.tcpServer;