Function sendmsg

Source
pub fn sendmsg<Fd: AsFd>(
    socket: Fd,
    iov: &[IoSlice<'_>],
    control: &mut SendAncillaryBuffer<'_, '_, '_>,
    flags: SendFlags,
) -> Result<usize>
Expand description

sendmsg(msghdr)—Sends a message on a socket.

This function is for use on connected sockets, as it doesn’t have a way to specify an address. See sendmsg_addr to send messages on unconnected sockets.

§References