Home
last modified time | relevance | path

Searched refs:_sock (Results 1 – 6 of 6) sorted by relevance

/external/libvncserver/webclients/novnc/include/
Drfb.js63 this._sock = null; // Websock object
172 this._sock = new Websock();
173 this._sock.on('message', this._handle_message.bind(this));
174 this._sock.on('open', function () {
181 this._sock.on('close', function (e) {
201 this._sock.on('error', function (e) {
261 this._sock.send(arr);
267 this._sock.send_string("\xFA\x00" + String.fromCharCode(ver) + String.fromCharCode(op));
296 this._sock.send(arr);
301 this._sock.send(RFB.messages.clientCutText(text));
[all …]
/external/autotest/client/deps/lansim/src/py/
Dtuntap.py118 self._sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
129 ifs = fcntl.ioctl(self._sock, pyiftun.SIOCGIFMTU,
136 ifs = fcntl.ioctl(self._sock, pyiftun.SIOCGIFFLAGS,
143 ifs = fcntl.ioctl(self._sock, pyiftun.SIOCSIFFLAGS,
154 ifs = fcntl.ioctl(self._sock, pyiftun.SIOCGIFADDR,
170 ifs = fcntl.ioctl(self._sock, pyiftun.SIOCSIFADDR,
177 ifs = fcntl.ioctl(self._sock, pyiftun.SIOCSIFNETMASK,
187 ifs = fcntl.ioctl(self._sock, pyiftun.SIOCGIFHWADDR,
202 ifs = fcntl.ioctl(self._sock, pyiftun.SIOCSIFHWADDR,
Dsimulator_unittest.py35 self._sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
36 self._sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
37 self._sock.bind((host, port))
38 self._sock.listen(1)
45 rlist, wlist, xlist = select.select([self._sock], [], [], 1.)
46 if self._sock in rlist:
47 conn, (addr, port) = self._sock.accept()
51 self._sock.close()
/external/autotest/client/cros/netprotos/
Dzeroconf.py90 self._sock = host.socket(socket.AF_INET, socket.SOCK_DGRAM)
91 self._sock.listen(MDNS_IP_ADDR, MDNS_PORT, self._mdns_request)
98 self._sock.close()
226 self._sock.send(str(resp_dns), MDNS_IP_ADDR, MDNS_PORT)
465 self._sock.send(str(mdns), MDNS_IP_ADDR, MDNS_PORT)
/external/chromium-trace/catapult/third_party/gsutil/third_party/socksipy-branch/
Dsocks.py120 def __init__(self, family=socket.AF_INET, type=socket.SOCK_STREAM, proto=0, _sock=None): argument
121 _orgsocket.__init__(self, family, type, proto, _sock)
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/
Dsocks.py123 def __init__(self, family=socket.AF_INET, type=socket.SOCK_STREAM, proto=0, _sock=None): argument
124 _orgsocket.__init__(self, family, type, proto, _sock)