Home
last modified time | relevance | path

Searched refs:backend_socket_ (Results 1 – 2 of 2) sorted by relevance

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_tls_frontend.cpp146 backend_socket_.reset(socket(backend_ai_res->ai_family, backend_ai_res->ai_socktype, in startServer()
148 if (backend_socket_.get() < 0) { in startServer()
149 PLOG(INFO) << "backend socket " << backend_socket_.get() << " creation failed"; in startServer()
156 connect(backend_socket_.get(), backend_ai_res->ai_addr, backend_ai_res->ai_addrlen)); in startServer()
259 int sent = send(backend_socket_.get(), query, qlen, 0); in handleRequests()
279 int rlen = recv(backend_socket_.get(), recv_buffer, max_size, 0); in handleRequests()
332 backend_socket_.reset(); in stopServer()
Ddns_tls_frontend.h94 android::base::unique_fd backend_socket_; variable