Function socket2::sys::connect

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