Searched refs:socket_ (Results 1 – 2 of 2) sorted by relevance
126 socket_ = std::move(s); in startServer()130 if (listen(socket_.get(), 1) < 0) { in startServer()131 PLOG(INFO) << "failed to listen socket " << socket_.get(); in startServer()176 {.fd = socket_.get(), .events = POLLIN}}; in requestHandler()196 accept4(socket_.get(), reinterpret_cast<sockaddr*>(&addr), &len, SOCK_CLOEXEC)); in requestHandler()292 socket_.reset(); in stopServer()
53 bool running() const { return socket_ != -1; } in running()86 android::base::unique_fd socket_; variable