Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

4.3 Peer Transmits 64 KiB of Data

The following message sequence shows the steps taken to transmit a moderate amount of data (64 KiB bytes).

  • The peer uses fragmented Send operations to transmit the data because the message exceeds the remote peer’s negotiated MaxReceiveSize, but is within the MaxFragmentedSize. A sequence of fragmented Sends of Data Transfer messages is prepared. The messages each request 10 Send Credits and grant a Send Credit to maintain the credits offered to the peer for expected responses. Because the fragmented sequence requires more credits (65) than are currently available (10), several pauses can occur while waiting for credit replenishment.

    • The Data Transfer message fields are set to the following:

      • CreditsRequested: 0x000A (10)

      • CreditsGranted: 0x0001

      • Flags: 0x0000

      • Reserved: 0x0000

      • RemainingDataLength: 0x000000xxx (63KiB remaining)

      • DataOffset: 0x00000018 (24)

      • DataLength: 0x000003F8 (1000 = MaxReceiveSize – 24)

      • Padding: 0x00000000 (4 bytes of 0x00)

      • Buffer: (1000 bytes of the upper-layer message)

    • The Data Transfer message fields are set to the following:

      • CreditsRequested: 0x000A (10)

      • CreditsGranted: 0x0001

      • Flags: 0x0000

      • Reserved: 0x0000

      • RemainingDataLength: 0x000000xxx (62KiB remaining)

      • DataOffset: 0x00000018 (24)

      • DataLength: 0x000003F8 (1000 = MaxReceiveSize – 24)

      • Padding: 0x00000000 (4 bytes of 0x00)

      • Buffer: (1000 bytes of the upper-layer message)

    • (Additional intermediate fragments, and pauses, elided…)

    • The Data Transfer message fields are set to the following:

      • CreditsRequested: 0x000A (10)

      • CreditsGranted: 0x0001

      • Flags: 0x0000

      • Reserved: 0x0000

      • RemainingDataLength: 0x000000000 (final message of fragmented sequence)

      • DataOffset: 0x00000018 (24)

      • DataLength: 0x00000218 (536 = last fragment)

      • Padding: 0x00000000 (4 bytes of 0x00)

      • Buffer: (536 final bytes of the upper-layer message)

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.