M

Mr. Dubey • 52.70K Points
Coach

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
Share

Explanation by: Mr. Dubey
 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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Loading Comments....

Question analytics