Transport Layer Flashcards

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/28

flashcard set

Earn XP

Description and Tags

Flashcards covering key concepts from the Transport Layer lecture.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

29 Terms

1
New cards

What is the sender's role in transport protocols?

Breaks application messages into segments, passes to network layer.

2
New cards

What is the receiver's role in transport protocols?

Reassembles segments into messages, passes to application layer.

3
New cards

What is the sender's role in transport protocols?

Breaks application messages into segments, passes to network layer.

4
New cards

What does TCP stand for?

Transmission Control Protocol

5
New cards

What does UDP stand for?

User Datagram Protocol

6
New cards

What services does TCP provide?

Reliable, in-order delivery, congestion control, flow control, and connection setup.

7
New cards

What kind of delivery service does UDP provide?

Unreliable, unordered delivery with no frills extension of best-effort IP.

8
New cards

On what are multiplexing and demultiplexing based?

Based on segment, datagram header field values.

9
New cards

How does UDP perform demultiplexing?

Using the destination port number (only).

10
New cards

How does TCP perform demultiplexing?

Using 4-tuple: source and destination IP addresses, and port numbers.

11
New cards

What may happen to UDP segments with best effort service?

Lost, delivered out-of-order to app

12
New cards

Why is UDP connectionless?

No handshaking between UDP sender, receiver and each UDP segment handled independently of others.

13
New cards

What are some uses for UDP?

Streaming multimedia apps (loss tolerant, rate sensitive), DNS, SNMP, and HTTP/3.

14
New cards

How is the UDP checksum calculated by the sender?

Treat contents of UDP segment (including UDP header fields and IP addresses) as sequence of 16-bit integers, checksum value put into UDP checksum field

15
New cards

How does the receiver validate the UDP checksum?

Compute checksum of received segment and check if computed checksum equals checksum field value.

16
New cards

What is UDP's approach?

Segments may be lost, delivered out of order; best effort service: send and hope for the best.

17
New cards

What are the advantages of UDP?

No setup/handshaking needed (no RTT incurred), can function when network service is compromised, and helps with reliability (checksum).

18
New cards

What approach is used to provide reliability over UDP?

Build additional functionality on top of UDP in application layer (e.g., HTTP/3).

19
New cards

What does 'stop and wait' mean in reliable data transfer?

Sender sends one packet, then waits for receiver response.

20
New cards

What are acknowledgements (ACKs)?

Receiver explicitly tells sender that pkt received OK

21
New cards

What are negative acknowledgements (NAKs)?

Receiver explicitly tells sender that pkt had errors

22
New cards

What should a sender do if an ACK/NAK is corrupted?

Sender retransmits current pkt if ACK/NAK corrupted.

23
New cards

What can the sender do to handle duplicates?

adds sequence number to each pkt and receiver discards (doesn’t deliver up) duplicate pkt.

24
New cards

How does make a NAK-free protocol?

Receiver sends ACK for last pkt received OK and receiver must explicitly include seq # of pkt being ACKed.

25
New cards

How do senders handle losses of packets?

Sender waits reasonable amount of time for ACK and retransmits if no ACK received in this time

26
New cards

Sender Utilization

Fraction of time sender busy sending

27
New cards

What action occurs during pipelining?

Sender allows multiple, “in-flight”, yet-to-be-acknowledged packets

28
New cards

Go-Back-N sender

Sender: “window” of up to N, consecutive transmitted but unACKed pkts • k-bit seq # in pkt header

29
New cards

receiver behavior in selective repeat

Individually acknowledges all correctly received packets • buffers packets, as needed, for eventual in-order delivery to upper layer