new

Function new 

Source
pub fn new(
    addr: SocketAddr,
    auth: Option<AuthMethod>,
) -> Result<Socks5Server, Socks5ServerError>