rustix::net

Function sendmsg_v4

source
pub fn sendmsg_v4(
    socket: impl AsFd,
    addr: &SocketAddrV4,
    iov: &[IoSlice<'_>],
    control: &mut SendAncillaryBuffer<'_, '_, '_>,
    flags: SendFlags,
) -> Result<usize>
Expand description

sendmsg(msghdr)—Sends a message on a socket to a specific IPv4 address.

§References