A message can be divided into smaller pieces. This paper model labels each piece with a message and position, and states the total separately. Use position rather than arrival order. Real network protocols have different fields and guarantees; this is not a literal packet format.
Worked example
Pieces 2, 1 and 3 arrive in that order. Reconstruct positions 1, 2, 3. A second copy of piece 2 does not replace missing piece 3.
Message M: Three Pieces
Message M has three numbered pieces: M/1 says MEET, M/2 says AT THE, and M/3 says LIBRARY. They arrive M/3, M/1, M/2. Each label identifies both message and position. A card from another message must not be inserted just because its number fits.