Q.

Which is the correct expression for the length of UDP datagram?

A. udp length = ip length – ip header’s length
B. udp length = udp length – udp header’s length
C. udp length = ip length + ip header’s length
D. udp length = udp length + udp header’s length
Answer» A. udp length = ip length – ip header’s length
Explanation: a user datagram is encapsulated in an ip datagram. there is a field in the ip header that defines the total length of the ip packet. there is another field in the ip header that defines the length of the header. so if we subtract the length of the ip header that is encapsulated in the ip packet, we get the length of udp datagram.
3.6k
0
Do you find this helpful?
1

Discussion

No comments yet