3.1.5.1 Receiving a Connection Handshake Success message

When a Connection Handshake Success message arrives through a TCP Socket, it is correlated back to one of Route Check Session or Packet Pair Session object.

If the per-session Expected Message field is not equal to 0x1E (Connection Handshake Success), the initiator MUST fail the experiment request that instantiated the session, and the session object is deleted.

Otherwise, the per-session Expected Message field MUST be set to 0x00 to indicate that the initiator is not expecting an incoming message. The initiator validates the fields in the Handshake header as per section 2.2.1.1. If the header contains an invalid value, the initiator MUST fail the experiment request that instantiated the session and the associated session object is deleted.

The next step of processing depends on the type of the session object: