pub fn dial(addr: SocketAddr, secret: &[u8]) -> Result<TcpStream>Expand description
TCP-connects to addr then performs client handshake + auth exchange under secret.
pub fn dial(addr: SocketAddr, secret: &[u8]) -> Result<TcpStream>TCP-connects to addr then performs client handshake + auth exchange under secret.