pub async fn socks5_handshake(
stream: TcpStream,
) -> Result<(TcpStream, Socks5Request)>Expand description
Perform SOCKS5 server-side handshake. Returns the TCP stream and CONNECT target.
pub async fn socks5_handshake(
stream: TcpStream,
) -> Result<(TcpStream, Socks5Request)>Perform SOCKS5 server-side handshake. Returns the TCP stream and CONNECT target.