4.1 Sending Messages

The Sending Messages example shows how the initiator creates the appropriate structures to create a connection and then sends a message on that connection In this case, the connection type of the connection is 0x00000101, and the user message type of the first message is 0x00002001. (These values are CONNTYPE_PARTNERTM_PROPAGATE and PARTNERTM_PROPAGATE_MTAG_PROPAGATE, respectively, as specified in [MS-DTCO].)

The initiator is going to create two MESSAGE_PACKET structures (section 2.2.2), format them into a boxcar, and then submit them to the underlying transports protocol session to be transmitted as specified in [MS-CMPO]. (Because it is assumed that a connection request will succeed, both MESSAGE_PACKET structures are put into the same boxcar.)