In TCP,
– Each segment header contains a sequence number.
– This sequence number allows the Transport layer functions on the destination host to reassemble segments in the order in which they were transmitted.
– This ensures that the destination application has the data in the exact form the sender intended.