What data structure is pictured in the graphic?
A. TCP segment
B. UDP datagram
C. IP header
D. Http header
The data structure pictured in the graphic is an UDP datagram. It uses a header (not shown) that contains the source and destination MAC address. It has very little
overhead as compared to the TCP segmented (shown later in this explanation) as any transmission that uses UDP is not provided the services of TCP.
It is not a TCP segment, which has much more overhead (shown below). The TCP header contains fields for sequence number, acknowledgment number, and
windows size, fields not found in a UDP header because UDP provides none of the services that require use of these fields. That is, UDP cannot re-sequence
packets that arrive out of order, nor does UDP acknowledge receipt (thus the term non-guaranteed to describe UDP). Furthermore, since UDP does not
acknowledge packets there is no need to manage the window size (the window size refers to the number of packets that can be received without an
It is not an IP header. An IP header contains fields for the source and destination IP address. The IP header, like the UDP segment, does not contain fields for
sequence number, acknowledgment number, and windows size, fields not found in a TCP header because TCP provides none of the services that require use of
these fields. IP provides best-effort user data. This does not cause a delivery problem, however, as IP relies on TCP to provide those services when the
transmission is a unicast.
An HTTP header does not include fields for HTTP requests and responses.
Compare and contrast TCP and UDP protocols