Home
last modified time | relevance | path

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

/test/testfwk/developer_test/aw/cxx/distributed/
Ddistributed_major.cpp121 int clientSockFd = socket(AF_INET, SOCK_STREAM, 0); in ConnectAgent() local
122 if (clientSockFd < 0) { in ConnectAgent()
131 if (!connect(clientSockFd, reinterpret_cast<struct sockaddr *>(&addr), sizeof(addr))) { in ConnectAgent()
138 close(clientSockFd); in ConnectAgent()
139 clientSockFd = -1; in ConnectAgent()
143 clientList_[devNo].fd = clientSockFd; in ConnectAgent()
Ddistributed_agent.cpp132 int clientSockFd = -1; in DoCmdServer() local
139 …if ((clientSockFd = accept(serverSockFd, reinterpret_cast<struct sockaddr *>(&clientAddr), &sinSiz… in DoCmdServer()
150 clientSockFd_ = clientSockFd; in DoCmdServer()