Function nix::sys::socket::recvmsg
[−]
[src]
pub fn recvmsg<'a, T>(
fd: RawFd,
iov: &[IoVec<&mut [u8]>],
cmsg_buffer: Option<&'a mut CmsgSpace<T>>,
flags: MsgFlags
) -> Result<RecvMsg<'a>>
Receive message in scatter-gather vectors from a socket, and optionally receive ancillary data into the provided buffer. If no ancillary data is desired, use () as the type parameter.