Searched refs:listenFd (Results 1 – 2 of 2) sorted by relevance
32 listenFd.reset(::socket(AF_INET6, SOCK_STREAM, 0)); in open()33 if (*listenFd < 0) in open()36 (void)listenFd.release(); in open()47 if (::bind(*listenFd, (struct sockaddr*)&listenAddr, sizeof(listenAddr)) < in open()54 if (::listen(*listenFd, 1) < 0) in open()65 listenFd.reset(); in close()75 fds.fd = *listenFd; in copyFrom()95 connFd.reset(::accept(*listenFd, nullptr, nullptr)); in copyFrom()
22 NetDataHandler() : listenFd(std::nullopt), connFd(std::nullopt) {} in NetDataHandler()40 Fd listenFd; member in ipmi_flash::NetDataHandler