Function tftp_client::download

source ·
pub fn download<T: AsRef<str> + Display>(
    filename: T,
    socket: &UdpSocket,
    server: SocketAddr,
    timeout: Duration,
    max_timeout: Duration,
    retries: usize
) -> Result<Vec<u8>, Error>
Expand description

Download a file via tftp