Consider the UDP header 05 31 00 OE 00 1A E3 11. What is the length of the data?a) 11 bytesb) 20 bytesc) 18 bytesd) 22 bytes
Answers
Answered by
32
Answer:
11 bytes
Explanation:
ok my dear friend
Answered by
0
Option A) 11 bytes
- While the TCP header can range from 20 bytes to 60 bytes, the UDP header is a fixed and straightforward 8 bytes. All relevant header information is contained in the first 8 bytes, with the following bytes being made up of data.
- UDP collects data in a UDP packet and adds its own header data to the packet to carry the data. The source and destination ports for communication, the packet length, and a checksum make up this data. UDP packets are despatched to their destinations after being enclosed in an IP packet.
- The initial four hexadecimal digits, or 06 32, represent the source port number. We obtain 1586 when we translate 1586 from hexadecimal to decimal. Its fixed size is 8 bytes. The size of the data is equal to the size of the entire packet, which is 28 - 8 = 20 bytes.
- A UDP packet's length is represented by an integer that is 16 bits wide. As a result, it can range from 0 to 216 – 1, or 0 to 65535.
#SPJ2
Similar questions
Accountancy,
4 months ago
English,
4 months ago
Math,
4 months ago
Math,
9 months ago
History,
1 year ago