Connects a socket to an address.
fn connect(sockfd: i32, addr: &[u8]) -> i32
The socket.
The address to connect to.
Returns success or an error value.
connect(2)