Section 3.3 Flashcards

1
Q

Name 3 features of UDP:

A

1.“no frills,” “bare bones” Internet transport protocol
2. “best effort” service
3. connectionless

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some advantages of UDP?

A
  1. no connection establishment delay (which can add RTT delay)
  2. simple: no connection state at sender, receiver
  3. small header size
  4. no congestion control
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name UDP sender actions:

A
  1. UDP is passed an application-layer message
  2. UDP determines UDP segment header fields values
  3. UDP creates UDP segment
  4. passes segment to IP, IP forwards IP datagram to IP host
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name UDP receiver actions:

A
  1. UDP receiver receives segment from IP
  2. checks UDP checksum header value
  3. extracts application-layer message
  4. demultiplexes message up to application via socket
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is found in a UDP segment header?

A

Length, Internet checksum, destination port number and source port number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Why is the UDP header length field needed?

A

Because the payload section can be of variable length, and this lets UDP know where the segment ends.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Over what set of bytes is the checksum field in the UDP header computed over?

A

The entire UDP segment, except the checksum field itself, and the IP sender and receive address fields

How well did you know this?
1
Not at all
2
3
4
5
Perfectly