1/19
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
What is the primary function of UDP as a transport protocol?
UDP performs multiplexing/demultiplexing, passes application-layer messages to the network layer, and provides light error-checking.
What does it mean that UDP is a connectionless protocol?
UDP does not establish a connection before sending data, allowing for immediate data transmission without handshaking.
Why might an application choose to use UDP over TCP?
UDP allows for finer application-level control over data transmission and avoids delays associated with TCP's congestion control and connection establishment.
What is the header size difference between TCP and UDP?
TCP headers are 20 bytes, while UDP headers are 8 bytes.
What is a potential downside of using UDP for multimedia applications?
UDP can congest the network and crowd out TCP connections, which may lead to performance issues.
Can reliable data transfer be achieved over UDP?
Yes, reliability can be built into the application itself, as demonstrated by the QUIC protocol.
What information does UDP use to demultiplex incoming segments?
UDP uses source and destination port numbers for demultiplexing.
What is the purpose of the UDP checksum?
The checksum allows for error detection by determining if bits have been altered during transmission.
How is the UDP checksum calculated?
The checksum is the 1's complement of the sum of all 16-bit words in the segment, with overflow wrapped around.
What happens if there is no error detected in the UDP checksum?
If there is no error, the result of adding the checksum to the sum of all 16-bit words should be all 1's.
What is the typical use case for TCP?
TCP is typically used for services that require reliable data transfer.
What is the impact of TCP's congestion control on data transmission?
TCP's congestion control may delay segment delivery and requires retransmission until delivery is confirmed.
What does 'vacuous transport protocol' refer to in the context of UDP?
It refers to UDP performing only the minimum required functions of a transport protocol without additional features.
What is the significance of the 'no connection state' characteristic of UDP?
It means there is no need to track sequence and acknowledgment numbers, simplifying the protocol.
What are the implications of UDP's lack of handshaking?
Data can be sent sooner without the 2-RTT delay associated with connection establishment.
What is the structure of a UDP segment?
A UDP segment includes source and destination port numbers, a length value, and a checksum.
What is the importance of the explicit length value in a UDP segment?
The explicit length value is necessary because UDP segments are variable-length.
What is a potential advantage of using UDP for real-time applications?
UDP can reduce latency, making it suitable for applications like video streaming and online gaming.
What is the role of the application layer in relation to UDP?
The application layer provides data to UDP, which packages it into segments for transmission.
What happens to the data if a UDP segment is lost during transmission?
UDP does not guarantee delivery, so lost segments are not retransmitted unless handled by the application.