Gathers a message from multiple source and sends it together with a control message on a connected socket.
impl Socket {
fn send_ctrl<C>(&self, buf: &[&[u8]], ctrl: C, flags: MsgFlags) -> Result<usize, Errno>
where C: AsRef<[u8]>,
}| Name | Description |
|---|---|
| buf | The buffers containing the message. |
| ctrl | The control message. |
| flags | Flags that can change the behavior of the operation. |
Returns the number of bytes sent.