Home
last modified time | relevance | path

Searched refs:OpenClientSocket (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/dsoftbus/tests/core/connection/common/unittest/
H A Dsoftbus_conn_common_test.cpp432 int32_t fd = tcp->OpenClientSocket(nullptr, "127.0.0.1", false); in HWTEST_F()
436 fd = tcp->OpenClientSocket(nullptr, nullptr, false); in HWTEST_F()
442 fd = tcp->OpenClientSocket(&option, "127.0.0.1", false); in HWTEST_F()
475 int32_t clientFd = tcp->OpenClientSocket(nullptr, "127.5.0.1", false); in HWTEST_F()
/foundation/communication/dsoftbus/tests/core/connection/tcp/
H A Dtcp_manager_test.cpp888 int32_t fd = tcp->OpenClientSocket(&option, "127.0.0.1", true); in HWTEST_F()
925 fd = tcp->OpenClientSocket(&option, "127.0.0.1", true); in HWTEST_F()
955 int32_t clientfd = tcp->OpenClientSocket(&option, "127.0.0.1", false); in HWTEST_F()
960 clientfd = tcp->OpenClientSocket(&option, "127.0.0.1", true); in HWTEST_F()
991 int32_t clientfd = tcp->OpenClientSocket(&option, "127.0.0.1", true); in HWTEST_F()
1031 int32_t clientfd = tcp->OpenClientSocket(&option, "127.0.0.1", true); in HWTEST_F()
1378 EXPECT_TRUE(tcp->OpenClientSocket(&option, Ip, true) > 0); in HWTEST_F()
1455 int32_t fd = tcp->OpenClientSocket(&option, option.socketOption.addr, false); in HWTEST_F()
1509 int32_t fd = tcp->OpenClientSocket(&option, option.socketOption.addr, false); in HWTEST_F()
1621 EXPECT_TRUE(tcp->OpenClientSocket( in HWTEST_F()
[all...]
/foundation/communication/dsoftbus/core/connection/interface/
H A Dsoftbus_socket.h62 int32_t (*OpenClientSocket)(const ConnectOption *option, const char *bindAddr, bool isNonBlock); member
/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_socket.c42 if (interface == NULL || interface->GetSockPort == NULL || interface->OpenClientSocket == NULL || in RegistSocketProtocol()
136 return socketInterface->OpenClientSocket(option, bindAddr, isNonBlock); in ConnOpenClientSocket()
H A Dsoftbus_tcp_socket.c445 .OpenClientSocket = OpenTcpClientSocket, in GetTcpProtocol()

Completed in 6 milliseconds