3.1.5.1.4 ACK and Source Packets Data
The following steps specify the creation of an ACK and Source Packet datagram:
An ACK datagram is generated, as specified in section 3.1.5.1.2.
The RDPUDP_FLAG_DATA flag MUST be set.
The RDPUDP_FLAG_CWR flag SHOULD be set for the first RDPUDP_FLAG_CN flag seen in an RTT.
An RDPUDP_SOURCE_PAYLOAD_HEADER structure (section 2.2.2.4) header MUST be appended.
The snCoded variable value MUST be set to the previously transmitted datagram’s snCoded value plus 1. If this is the first datagram, this value is the advertised Initial Sequence Number ADM element plus 1.
The snSourceStart variable MUST be set. It is incremented for each chunk of data written to the transport. The initial value is the advertised Initial Sequence Number ADM element plus 1.
The data payload protocol data MUST be appended.