[][src]Function linux::syscall::recvmmsg

pub fn recvmmsg(
    sockfd: c_int,
    msgvec: &mut [mmsghdr],
    flags: c_uint,
    timeout: Option<&mut timespec>
) -> c_int

Receives multiple messages on a socket.

[argument, sockfd] The socket on which to receive.

[argument, msgvec] A vector of message buffers.

[argument, flags] Flags used while receiving.

[argument, timeout] A timeout for the operation.

[return_value] Returns the number of messages received or an error value.

= See also

  • link:man:recvmmsg(2)