connect_with_retry

Function connect_with_retry 

Source
fn connect_with_retry(
    socket_name: SocketName<'_>,
    attempts: u32,
    delay: Duration,
) -> Option<Client>
Expand description

Try to connect to the server socket up to attempts times, sleeping delay between tries.