pub fn connect_socket_directly(
    addr_connect: &Service,
    sock: &Sock,
    n_timeout: i32,
    manual_connection: bool
) -> bool
Expand description

| Try to connect to the specified service | on the specified socket. | | ———– | @param addrConnect | | The service to which to connect. | ––––– | @param sock | | The socket on which to connect. | ––––– | @param nTimeout | | Wait this many milliseconds for the | connection to be established. | ––––– | @param manual_connection | | Whether or not the connection was manually | requested (e.g. through the addnode | RPC) | | ———– | @return | | Whether or not a connection was successfully | made. |