Application data sent over TCP experiences multiple encapsulations:
- The application data is encapsulated within one or many TCP fragments
- The TCP fragment is encapsulated within one or many IP datagrams
- The IP datagram is encapsulated within an Ethernet frame
It turns out Ethernet frames are sent most-significant byte first, and within each byte, most-significant bit first. What about the multiple encapsulations? Are they performed MSB first or LSB first?
Virtually everything in IP and its related protocols is most significant byte first. In older documents, such as the RFCs you should be reading, you will see this referred to as “network byte order”.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.