Searched refs:socktype (Results 1 – 6 of 6) sorted by relevance
/thrift-3.4.0/lib/cpp/src/thrift/transport/ |
D | TSocketUtils.h | 101 addrinfo* query(const std::string& host, const std::string& port, int socktype, int flags) { in query() 105 hints.ai_socktype = socktype; in query() 133 int socktype = SOCK_STREAM, 135 : gai_results(query(host, port, socktype, flags)) {} in gai_results() 148 int socktype = SOCK_STREAM, 150 gai_results.reset(query(host, port, socktype, flags));
|
/thrift-3.4.0/contrib/zeromq/ |
D | test-client.cpp | 15 int socktype = ZMQ_REQ; in main() local 20 socktype = ZMQ_PUSH; in main() 26 shared_ptr<TZmqClient> transport(new TZmqClient(ctx, endpoint, socktype)); in main()
|
D | test-client.py | 13 socktype = zmq.REQ 18 socktype = zmq.PUSH 22 transport = TZmqClient.TZmqClient(ctx, endpoint, socktype)
|
D | test-sender.cpp | 15 int socktype = ZMQ_PUB; in main() local 22 shared_ptr<TZmqClient> transport(new TZmqClient(ctx, endpoint, socktype)); in main()
|
/thrift-3.4.0/lib/py/src/transport/ |
D | TSocket.py | 115 def _do_open(self, family, socktype): argument 116 return socket.socket(family, socktype) 131 for family, socktype, _, _, sockaddr in addrs: 132 handle = self._do_open(family, socktype)
|
D | TSSLSocket.py | 290 def _do_open(self, family, socktype): argument 291 plain_sock = socket.socket(family, socktype)
|