Assuming:
- TCP Window Size of client: 2000 bytes
- MSS (maximum segment size) of client: 1500 bytes
Now server want to send 3000 bytes to client B1..B3000
. Server sends:
- Packet-1: Contains
B1..B1500
bytes,SeqNo: 1
,Length: 1500
- Packet-2: Contains
B501..B2000
bytes,SeqNo: 501
,Length: 1500
So in effect:
Data B1....B501....B1500....B2000....B3000
Packet-1 B1....B501....B1500
Packet-2 B501....B1500....B2000
Is it valid and allowed by TCP protocol?