pub unsafe extern "C" fn dtls_handle_message(
ctx: *mut dtls_context_t,
session: *mut session_t,
msg: *mut uint8,
msglen: c_int,
) -> c_intExpand description
Handles incoming data as DTLS message from given peer.
@param ctx The dtls context to use. @param session The current session @param msg The received data @param msglen The actual length of @p msg. @return A value less than zero on error, zero on success.