socksx::addresses

Function read_address

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

Reads the destination address from a stream and returns it as an Address.