Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/doh/tests/doh_frontend/src/
Ddns_https_frontend.rs94 backend_socket: std::net::UdpSocket, field
239 let backend_socket = std::net::UdpSocket::bind(bind_addr)?; in init_worker_thread_params() localVariable
240 backend_socket.connect(self.backend_socket_addr)?; in init_worker_thread_params()
241 backend_socket.set_nonblocking(true)?; in init_worker_thread_params()
257 backend_socket, in init_worker_thread_params()
280 let backend_socket = into_tokio_udp_socket(params.backend_socket)?; in worker_thread() localVariable
291 debug!("frontend={:?}, backend={:?}", frontend_socket, backend_socket); in worker_thread()
351 backend_socket.send(&query).await?; in worker_thread()
359 Ok((len, src)) = backend_socket.recv_from(&mut backend_buf) => { in worker_thread()