1.4. TCP and UDP Frames :
The frames for both TCP and UDP are as given below:
TCP Frame:
TCP frame fields: Total 20 bytes long.
1. Sequence Number
2. AcK number
3. Data offset
4. Reserved
5. Control bit
6. Window
7. Urgent Pointer
8. Options
9. Padding
10. Check Sum
11. Source port
12. Destination port
UDP Frame:
UDP frame fields: Total 8 bytes long.
1. Length
2. Source port
3. Destination port
4. Check Sum