socket2::sys

Function connect

Source
pub(crate) fn connect(fd: c_int, addr: &SockAddr) -> Result<()>