Final answer:
The size of the TCP data present in the datagram is 956 bytes.
Step-by-step explanation:
The size of the TCP data present in the datagram can be calculated by subtracting the total length of the IP datagram from the sum of the header lengths of the IP datagram and the TCP segment. The header length field in the IP datagram is 5, so the IP header length is 5 * 4 = 20 bytes. The header length field in the TCP header is 6, so the TCP header length is 6 * 4 = 24 bytes.
To calculate the size of the TCP data, subtract the IP header length and TCP header length from the total length of the IP datagram:
- IP header length = 20 bytes
- TCP header length = 24 bytes
- Total length of the IP datagram = 1000 bytes
- TCP data size = Total length of the IP datagram - IP header length - TCP header length
- TCP data size = 1000 - 20 - 24 = 956 bytes
Therefore, the size of the TCP data present in the datagram is 956 bytes.