pub fn connect(&mut self, socket: &mut dyn Socket) -> Result<()> {
        self.send = Default::default();
        self.receive = Default::default();
        self.send_ping(socket)
    }
/// Connect to the `bound_addr`. This will reset the internal state of the connector, and start up the connection handshake
Connect to the `bound_addr`. This will reset the internal state of the connector, and start up the connection handshake
Connect to the ` bound_addr ` . This will reset the internal state of the connector and start up the connection handshake
pub fn connect(&mut self, socket: &mut dyn Socket) -> Result<()> {
        self.send = Default::default();
        self.receive = Default::default();
        self.send_ping(socket)
    }
pub fn connect ( & mut self , socket : & mut dyn Socket ) -> Result < ( ) > { self . send = Default :: default ( ) ; self . receive = Default :: default ( ) ; self . send_ping ( socket ) }
Connect to the `bound_addr`.
Connect to the ` bound_addr ` .
&mut self
socket
&mut dyn Socket
&mut self
socket
&mut dyn Socket