Lines Matching refs:mSockFd
37 std::atomic_init(&mSockFd, INVALID_SOCKET); in SocketClient()
68 if (mSockFd != INVALID_SOCKET && shutdown(mSockFd, SHUT_RDWR) != 0) { in disconnect()
80 return (mSockFd != INVALID_SOCKET); in isConnected()
86 if (mSockFd == INVALID_SOCKET) { in sendMessage()
89 ssize_t bytesSent = send(mSockFd, data, length, 0); in sendMessage()
144 while (!mGracefulShutdown && (mSockFd != INVALID_SOCKET || reconnect())) { in receiveThread()
146 ssize_t bytesReceived = recv(mSockFd, buffer, sizeof(buffer), 0); in receiveThread()
161 if (close(mSockFd) != 0) { in receiveThread()
164 mSockFd = INVALID_SOCKET; in receiveThread()
251 mSockFd = socket_local_client_connect(sockFd, mSocketName, in tryConnect()
254 if (mSockFd != INVALID_SOCKET) { in tryConnect()