Difference between DTLS and TLS

Pranav picture Pranav · Mar 11, 2013 · Viewed 62k times · Source
  1. What is the functional difference between TLS and DTLS?
  2. How does application flow/negotiation differ while using TLS vs DTLS?

Answer

Yu Hao picture Yu Hao · May 21, 2013

Basically DTLS is to construct TLS over datagram (UDP, DCCP, etc.)

DTLS is similar to TLS intentionally except that DTLS has to solve two problems: packet lost and reordering. DTLS implements

  1. packet retransmission
  2. assigning sequence number within the handshake
  3. replay detection.

See RFC 6347 for details.