fast_socks5::util::target_addr

Function read_address

Source
pub async fn read_address<T: AsyncRead + Unpin>(
    stream: &mut T,
    atyp: u8,
) -> Result<TargetAddr>
Expand description

This function is used by the client & the server