Skip to main content

ddsrt_sendmsg

Function ddsrt_sendmsg 

Source
pub unsafe extern "C" fn ddsrt_sendmsg(
    sock: ddsrt_socket_t,
    msg: *const ddsrt_msghdr_t,
    flags: c_int,
    sent: *mut usize,
) -> dds_return_t
Expand description

@brief Send a message

  • The ‘flags’ can be 0, or the bitwise OR of one or more of: {MSG_CONFIRM, MSG_DONTROUTE, MSG_DONTWAIT, MSG_EOR, MSG_MORE, MSG_NOSIGNAL, MSG_OOB}

@param[in] sock the socket @param[in] msg the message to send @param[in] flags flags for special options @param[out] sent the number of bytes sent @return a DDS_RETCODE (OK, ERROR, and more)

See @ref ddsrt_recvmsg