Home
last modified time | relevance | path

Searched refs:cli_sock (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/src/core/lib/iomgr/
Dendpoint_pair_windows.cc39 SOCKET cli_sock = INVALID_SOCKET; in create_sockets() local
56 cli_sock = WSASocket(AF_INET, SOCK_STREAM, IPPROTO_TCP, NULL, 0, in create_sockets()
58 GPR_ASSERT(cli_sock != INVALID_SOCKET); in create_sockets()
60 GPR_ASSERT(WSAConnect(cli_sock, (grpc_sockaddr*)&addr, addr_len, NULL, NULL, in create_sockets()
66 grpc_tcp_prepare_socket(cli_sock); in create_sockets()
69 sv[1] = cli_sock; in create_sockets()
/external/python/cpython3/Lib/test/
Dtest_socket.py2299 return self.cli_sock.send(msg)
2310 return self.cli_sock.sendmsg(
2443 def cli_sock(self): member in SendrecvmsgConnectionlessBase
2451 return self.cli_sock.sendto(msg, self.serv_addr)
2465 def cli_sock(self): member in SendrecvmsgConnectedBase
2529 self.assertRaises(TypeError, self.cli_sock.sendmsg)
2597 self.cli_sock.close()
2619 self.cli_sock.settimeout(0.03)
2673 self.assertRaises(OSError, self.cli_sock.sendmsg,
2675 self.assertRaises(OSError, self.cli_sock.sendmsg,
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py2317 cli_sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
2318 cli_sock.connect((support.HOST, port))
2322 lambda: cli_proto, sock=cli_sock,
2324 self.reduce_send_buffer_size(cli_sock, transport=tr)