pub unsafe fn sys_sendmsg(
    socket_fd: c_int,
    msg: *const msghdr,
    flags: c_int
) -> ssize_t
Available on crate feature net only.
Expand description

Send a message on a socket to the address connected. The message is pointed to by the elements of the array msg.msg_iov.

Return the number of bytes sent if success.