3.2.5.1 Receiving a Handshake Header

  1. When a Handshake Header (section 2.2.1.1) arrives through a per-session Socket, the sink checks the Handshaking field. If it is not set, the sink MUST destroy the corresponding Diagnostic Session and ignore the header.

    Otherwise, the sink checks that the fields of the handshake header are valid. If not, the sink MUST destroy the corresponding Diagnostic Session and ignore the header.

  2. The sink MUST clear per-session Handshaking field. The sink MUST then send a handshake header back to the initiator.

  3.  The sink then waits for a message to arrive in order to continue processing.