Method lrs::socket::Socket::gather_send_to

Gathers a message from multiple sources and sends it on a connection-less socket.

Syntax

impl Socket {
    fn gather_send_to<A>(&self, buf: &[&[u8]], addr: A, flags: MsgFlags) -> Result<usize, Errno>
        where A: AsRef<[u8]>,
}

Arguments

NameDescription
buf

The buffers containing the message.

addr

The destination of the message.

flags

Flags that can change the behavior of the operation.

Return value

Returns the number of bytes sent.

See also