Method lrs::socket::Socket::gather_send

Gathers a message from multiple sources and sends it on a connected socket.

Syntax

impl Socket {
    fn gather_send(&self, buf: &[&[u8]], flags: MsgFlags) -> Result<usize, Errno>
}

Arguments

NameDescription
buf

The buffers containing the message.

flags

Flags that can change the behavior of the operation.

Return value

Returns the number of bytes sent.

See also