rustix::net

Function recvmsg

Source
pub fn recvmsg(
    socket: impl AsFd,
    iov: &mut [IoSliceMut<'_>],
    control: &mut RecvAncillaryBuffer<'_>,
    flags: RecvFlags,
) -> Result<RecvMsgReturn>
Available on crate feature net only.
Expand description

recvmsg(msghdr)—Receives a message from a socket.

§References