pub fn send_bytes(socket: &mut TcpStream, buffer: &[u8]) -> Result<usize>
Send some bytes to a socket. Returns the number of bytes sent, or an Error.
Error