Skip to main content

dial

Function dial 

Source
pub fn dial(addr: SocketAddr, secret: &[u8]) -> Result<TcpStream>
Expand description

TCP-connects to addr then performs client handshake + auth exchange under secret.