socksx::socks6

Function read_reply

Source
pub async fn read_reply<S>(
    stream: &mut S,
) -> Result<(Address, Vec<SocksOption>)>
where S: AsyncRead + Unpin,
Expand description

Reads a SOCKS6 reply from the stream.