This image illustrates DTLS handshake statuses and different messages during the DTLS handshake. The following steps are performed before the status of the handshake is determined:
This image illustrates some of the possible handshake statuses. The section Understanding SSLEngine Operation Statuses describes these statuses in more detail:
NEED_TASK
NEED_WRAP
NEED_UNWRAP
NEED_UNWRAP_AGAIN
FINISHED