[−][src]Function libcoap_sys::coap_dtls_send
pub unsafe extern "C" fn coap_dtls_send(
coap_session: *mut coap_session_t,
data: *const u8,
data_len: usize
) -> c_int
Send data to a DTLS peer.
Internal function.
@param coap_session The CoAP session. @param data pointer to data. @param data_len Number of bytes to send.
@return @c 0 if this would be blocking, @c -1 if there is an error or the number of cleartext bytes sent.