Function nix::sys::socket::sendmsg [−][src]
pub fn sendmsg(
fd: RawFd,
iov: &[IoVec<&[u8]>],
cmsgs: &[ControlMessage<'_>],
flags: MsgFlags,
addr: Option<&SockAddr>
) -> Result<usize>
Expand description
Send data in scatter-gather vectors to a socket, possibly accompanied by ancillary data. Optionally direct the message at the given address, as with sendto.
Allocates if cmsgs is nonempty.