Home
last modified time | relevance | path

Searched refs:tcpServerAddr (Results 1 – 2 of 2) sorted by relevance

/developtools/smartperf_host/smartperf_device/device_command/test/unittest/
Dgetlog_test.cpp52 struct sockaddr_in tcpServerAddr = {}; in CreateAndBindSocket() local
53 tcpServerAddr.sin_family = AF_INET; in CreateAndBindSocket()
54 tcpServerAddr.sin_addr.s_addr = inet_addr("127.0.0.1"); in CreateAndBindSocket()
55 tcpServerAddr.sin_port = htons(TCP_PORT); in CreateAndBindSocket()
57 … (::bind(tcpServerFd, reinterpret_cast<struct sockaddr*>(&tcpServerAddr), sizeof(tcpServerAddr)) <… in CreateAndBindSocket()
/developtools/profiler/host/smartperf/client/client_command/test/unittest/
Dgetlog_test.cpp52 struct sockaddr_in tcpServerAddr = {}; in CreateAndBindSocket() local
53 tcpServerAddr.sin_family = AF_INET; in CreateAndBindSocket()
54 tcpServerAddr.sin_addr.s_addr = inet_addr("127.0.0.1"); in CreateAndBindSocket()
55 tcpServerAddr.sin_port = htons(TCP_PORT); in CreateAndBindSocket()
57 … (::bind(tcpServerFd, reinterpret_cast<struct sockaddr*>(&tcpServerAddr), sizeof(tcpServerAddr)) <… in CreateAndBindSocket()