Home
last modified time | relevance | path

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

/thrift-3.4.0/lib/cpp/src/thrift/transport/
DTSocketUtils.h101 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/
Dtest-client.cpp15 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()
Dtest-client.py13 socktype = zmq.REQ
18 socktype = zmq.PUSH
22 transport = TZmqClient.TZmqClient(ctx, endpoint, socktype)
Dtest-sender.cpp15 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/
DTSocket.py115 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)
DTSSLSocket.py290 def _do_open(self, family, socktype): argument
291 plain_sock = socket.socket(family, socktype)