Searched refs:tcp_socket_ (Results 1 – 2 of 2) sorted by relevance
560 return (udp_socket_.ok()) && (tcp_socket_.ok()); in running()575 if (tcp_socket_ = createListeningSocket(SOCK_STREAM); tcp_socket_.get() < 0) { in startServer()580 if (listen(tcp_socket_.get(), 1) < 0) { in startServer()606 if (!addFd(tcp_socket_.get(), EPOLLIN)) { in startServer()639 tcp_socket_.reset(); in stopServer()691 } else if (fd == tcp_socket_.get() && (events & (EPOLLIN | EPOLLERR))) { in requestHandler()1079 tcpFd.reset(accept4(tcp_socket_.get(), reinterpret_cast<sockaddr*>(&sa), &sa_len, in handleQuery()
202 int getTcpSocket() const { return tcp_socket_.get(); } in getTcpSocket()342 android::base::unique_fd tcp_socket_; variable