3.1.8 Versioning Negotiation
This protocol has two versions: MS-DTCM 1.0 and MS-DTCM 1.1. Before exchanging any protocol messages, the two protocol participants MUST agree on what protocol version to use in their message exchange.
To negotiate a common protocol version, the two protocol participants MUST use the version negotiation mechanism that is provided by [MS-CMPO] section 3.3.4.2 as follows:
At initialization, each of the protocol participants set their Maximum Level 3 Version Number data field as specified in Common Initialization Details.
When a session is established between two protocol participants, the value of the dwLevelThreeAccepted field of the Session object's version field (as specified in [MS-CMPO] section 3.2.1.2) indicates the negotiated protocol version as follows:
If the value of the dwLevelThreeAccepted field is less than or equal to 3:
The negotiated protocol version is MS-DTCM 1.0.
Otherwise:
The negotiated protocol version is MS-DTCM 1.1.
The negotiated protocol version MUST be used when creating new connection objects, as specified in Common Initialization Details (section 3.1.3).