dtls_handle_message method
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.
Implementation
int dtls_handle_message(
ffi.Pointer<dtls_context_t> ctx,
ffi.Pointer<session_t> session,
ffi.Pointer<uint8> msg,
int msglen,
) {
return _dtls_handle_message(
ctx,
session,
msg,
msglen,
);
}