Searched refs:mListenFd (Results 1 – 2 of 2) sorted by relevance
36 mListenFd = ::socket(AF_INET, SOCK_STREAM, 0); in SocketConnectionDetector()37 if (mListenFd < 0) { in SocketConnectionDetector()50 ::bind(mListenFd, (struct sockaddr*)&serverAddress, sizeof(serverAddress)); in SocketConnectionDetector()51 if (::listen(mListenFd, 0) != NO_ERROR) { in SocketConnectionDetector()53 mListenFd = -1; in SocketConnectionDetector()65 if (mListenFd >= 0) { in ~SocketConnectionDetector()71 return ::accept(mListenFd, nullptr, nullptr); in waitForConnection()
54 int mListenFd; variable