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