Function connect

Source
pub fn connect<T: SockAddr>(fd: &impl AsRawFd, addr: &T) -> Result<()>