Numerical Practice (UDP Protocol)

Question A client has a packet of 69,900 bytes. Show how this packet can be transferred by using only one UDP user datagram.
Solution:
As the maximum size of IP packet is 65535 bytes. This cannot be transferred using a single user datagram.
Question Does every UDP packet have a destination port?
Solution
The UDP header is 8 bytes. According to the RFC, the source port is optional but the destination port is mandatory. Moreover, UDP is unacknowledged protocol so source port can be missed. 
Question Do UDP packets guaranteed to arrive in the same order they were sent?
Solution
No, as it is a connectionless protocol
Question  UDP header in hexadecimal format is represented as 
                       CB84 000D 002A 001C .  
What is the length of the data?	Solution
The third filed in UDP is total length, which is (002A)16 = 32+10 =42 
Since, Data = Total length - Header.so Data = 42-8 = 34 bytes

Published by Expert_Talk

I like sharing article and discussion on emerging technologies. Love to share my knowledge on various latest trends and technologies.

Leave a comment