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.cpp142 backend_socket_.reset(socket(backend_ai_res->ai_family, backend_ai_res->ai_socktype, in startServer()
144 if (backend_socket_.get() < 0) { in startServer()
145 PLOG(INFO) << "backend socket " << backend_socket_.get() << " creation failed"; in startServer()
152 connect(backend_socket_.get(), backend_ai_res->ai_addr, backend_ai_res->ai_addrlen)); in startServer()
252 int sent = send(backend_socket_.get(), query, qlen, 0); in handleRequests()
272 int rlen = recv(backend_socket_.get(), recv_buffer, max_size, 0); in handleRequests()
330 backend_socket_.reset(); in stopServer()
Ddns_tls_frontend.h95 android::base::unique_fd backend_socket_; variable