Function grubbnet::send_bytes

source ·
pub fn send_bytes(socket: &mut TcpStream, buffer: &[u8]) -> Result<usize>
Expand description

Send some bytes to a socket. Returns the number of bytes sent, or an Error.