Skip to main content

connect_first

Function connect_first 

Source
async fn connect_first(addrs: &[SocketAddr]) -> Result<TcpStream, u8>
Expand description

Connect to the first of addrs that answers, each within the connect limit. The reply for the last failure.