Searched refs:clientSockFd (Results 1 – 2 of 2) sorted by relevance
121 int clientSockFd = socket(AF_INET, SOCK_STREAM, 0); in ConnectAgent() local122 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()
132 int clientSockFd = -1; in DoCmdServer() local139 …if ((clientSockFd = accept(serverSockFd, reinterpret_cast<struct sockaddr *>(&clientAddr), &sinSiz… in DoCmdServer()150 clientSockFd_ = clientSockFd; in DoCmdServer()