2.1.1.1.2 Receiving Reply

If the OperationType of the message is Request(0), an implementation MUST wait for the Two-Way Reply message in the same connection. The implementation MAY have an implementation-specific time-out period. If the server does not reply within the time-out period, the higher layer MAY be notified of the time-out error.<5>

If the message frame of the reply message does not conform to the structure specified in Message Frame Structure (section 2.2.3.3) or if the OperationType field of the message frame is not Reply(2), then the implementation MUST notify the higher layer of the error.

An implementation MAY process implementation-defined CustomHeaders in an implementation-specific way. The implementation MUST ignore any CustomHeaders that it does not understand.

The data in the transport buffer MUST be consumed so that the connection can be reused.

 An implementation of the protocol MAY cache the connection after reading the reply, unless the message frame has a CloseConnectionHeader.