socksx::socks6

Function write_reply

Source
pub async fn write_reply<S>(stream: &mut S, reply: Socks6Reply) -> Result<()>
where S: AsyncWrite + Unpin,
Expand description

Writes a SOCKS6 reply to the stream.