Section 3.3 Flashcards
Name 3 features of UDP:
1.“no frills,” “bare bones” Internet transport protocol
2. “best effort” service
3. connectionless
What are some advantages of UDP?
- no connection establishment delay (which can add RTT delay)
- simple: no connection state at sender, receiver
- small header size
- no congestion control
Name UDP sender actions:
- UDP is passed an application-layer message
- UDP determines UDP segment header fields values
- UDP creates UDP segment
- passes segment to IP, IP forwards IP datagram to IP host
Name UDP receiver actions:
- UDP receiver receives segment from IP
- checks UDP checksum header value
- extracts application-layer message
- demultiplexes message up to application via socket
True or False: On the sending side, the UDP sender will take each application-layer chunk of data written into a UDP socket and send it in a distinct UDP datagram. And then on the receiving side, UDP will deliver a segment’s payload into the appropriate socket, preserving the application-defined message boundary.
True
What is found in a UDP segment header?
Length, Internet checksum, destination port number and source port number
Why is the UDP header length field needed?
Because the payload section can be of variable length, and this lets UDP know where the segment ends.
Over what set of bytes is the checksum field in the UDP header computed over?
The entire UDP segment, except the checksum field itself, and the IP sender and receive address fields