Skip to main content

Disconnect Packet

Only TYPE Field


๐Ÿ“ฆ Sizeโ€‹

1 byte

  • TYPE: 8 bits (0x06)

๐Ÿ“ค Sent Byโ€‹

Either side (client or server), when intentionally closing the connection.


๐Ÿงช Contentsโ€‹

  • Contains only the TYPE field
  • The byte is not encrypted

๐Ÿงน Purposeโ€‹

Used to gracefully shut down an active connection.

  • Indicates a clean, expected disconnection (not a timeout or crash)
  • Received by the other party to handle teardown cleanly

If no disconnect packet is received and the connection drops, the session is considered aborted or timed out.