Home
last modified time | relevance | path

Searched refs:clientSock (Results 1 – 4 of 4) sorted by relevance

/thrift-3.4.0/lib/cpp/test/
DTSocketInterruptTest.cpp58 TSocket clientSock("localhost", port); in BOOST_AUTO_TEST_CASE() local
59 clientSock.open(); in BOOST_AUTO_TEST_CASE()
67 clientSock.close(); in BOOST_AUTO_TEST_CASE()
77 TSocket clientSock("localhost", port); in BOOST_AUTO_TEST_CASE() local
78 clientSock.open(); in BOOST_AUTO_TEST_CASE()
88 clientSock.close(); in BOOST_AUTO_TEST_CASE()
109 TSocket clientSock("localhost", port); in BOOST_AUTO_TEST_CASE() local
110 clientSock.open(); in BOOST_AUTO_TEST_CASE()
119 clientSock.close(); in BOOST_AUTO_TEST_CASE()
129 TSocket clientSock("localhost", port); in BOOST_AUTO_TEST_CASE() local
[all …]
DTSSLSocketInterruptTest.cpp146 shared_ptr<TSSLSocket> clientSock = pClientSocketFactory->createSocket("localhost", port); in BOOST_AUTO_TEST_CASE() local
147 clientSock->open(); in BOOST_AUTO_TEST_CASE()
155 clientSock->close(); in BOOST_AUTO_TEST_CASE()
166 shared_ptr<TSSLSocket> clientSock = pClientSocketFactory->createSocket("localhost", port); in BOOST_AUTO_TEST_CASE() local
167 clientSock->open(); in BOOST_AUTO_TEST_CASE()
170 clientSock->write((const uint8_t*)"0", 1); in BOOST_AUTO_TEST_CASE()
177 clientSock->close(); in BOOST_AUTO_TEST_CASE()
188 shared_ptr<TSSLSocket> clientSock = pClientSocketFactory->createSocket("localhost", port); in BOOST_AUTO_TEST_CASE() local
189 clientSock->open(); in BOOST_AUTO_TEST_CASE()
193 clientSock->write((const uint8_t*)"0", 1); in BOOST_AUTO_TEST_CASE()
[all …]
DTServerSocketTest.cpp40 TSocket clientSock("localhost", port); in BOOST_AUTO_TEST_CASE() local
41 clientSock.open(); in BOOST_AUTO_TEST_CASE()
/thrift-3.4.0/lib/d/src/thrift/server/transport/
Dsocket.d353 auto clientSock = new TSocket("127.0.0.1", port); variable
354 clientSock.open();
355 scope (exit) clientSock.close();