Transport Layer Flashcards

1
Q

Implications of best effort

A

drop messages, out of order messages, duplicates, finite message size, delays

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

End to end services

A

guarantee message delivery, in order, at most 1 copy, large messages, synchonization, receive flow control sender, multiple application processes on hosts

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

How can processes on different systems get the right messages?

A

Ports

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

Ports

A

numeric locators which enable messages to be demultiplexed to proper process

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

Ports are typically implemented as

A

messages queues

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

Simplest function of the transport layer

A

multiplexing/demultiplexing of messages

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

transport layer functions

A

connection control, error detection, in order delivery, flow control, congestion control

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

What is UDP?

A

user datagram protocol

unreliable unordered datagram service

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

Does UDP have flow or congestion control?

A

No

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

Does UDP have reliability?

A

optional checksum

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

What does UDP do?

A

adds multiplexing/demultiplexing

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

How are end points identified in the transport layer?

A

Ports

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

What does the UDP demultiplexer do?

A

extends host-to-host delivery service of the underlying network into a process-to-process communication service

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

UDP Checksum computer over?

A

UDP header + body + pseudoheader

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

What does the UDP psuedoheader consist of?

A

Protocol number (UDP or TCP), IP src, IP dst, UDP length

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

What is TCP?

A

2 way, reliable, byte stream oriented end-to-end protocol

17
Q

TCP Features:

A

Connection oriented, full duplex, flow control, congestion control, byte stream, reliable data transfer

18
Q

what is in the acknowledgement field?

A

next expected bye in reverse direction

19
Q

advertised winow

A

amount of room to receive data

20
Q

Each connection identified with a 4-tuple

A

SrcPort, SrcIpAddr, DsrPort, DestIPAddr

21
Q

Sequence numbers

A

each packet has a sequence number, wrap around supported, initial number selected at connection time

22
Q

ACK indicates what?

A

next bye expected

23
Q

TCP’s sliding window serves what purposes?

A

1) guarantees reliable delivery of data
2) ensures in order delivery
3) enforces flow control between sender and receiver

24
Q

window

A

upper bound on unACKed frames

25
Why does sender need buffer data?
if data is lost, it can be resent
26
Why does receiver need buffer data?
if data is received out of order, it can be helld until all packets are received
27
How to prevent sender from overflowing receiver's buffer?
receiver tells sender its buffer size during connection setup
28
Go-Back-N
Send all N unACKed packets when a loss is signaled
29
Selective repeat
Only send specifically unACKed packets
30
MaxReceivingBuffer >=
lastByteReceived - LastByeRead
31
Receiver Advertised Window
MaxReceiverBuffer - (NextByteExpected - 1) - LastByeRead)
32
Sending Side Advertised window
lastByteSent - lastByteAcked
33
Sending effective window
advertisedWindow - (LastByteSent - lastByteAcked)