UDP vs TCP Flashcards

1
Q

What is the 3 way handshake?

A

(TCP) A proposed solution to achieving reliable connection establishment. Senders and receivers exchange info about which sequencing strategy each will use and agree on it before submitting TPDUs

Client sends message to host

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

Does TCP acknowledge bytes or packets?

A

Bytes.

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

What happens if the networks are overloaded in TCP?

A

Congestion occurs

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

What layers does congestion affect?

A

Possibly all

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

Why does TCP impact congestion most significantly?

A

TCP offers methods to transparently reduce data rate and hence reduce congestion

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

What is the open loop solution?

A

TCP adopts defensive stance. At connection establishment, suitable window size is chosen by receiver based on buffer size. If sender is constrained to this size, congestion will not occur due to buffer overflow at receiver but may occur due to congestion on network.
Ensure packet lifetimes are bounded

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

What is flow control?

A

(TCP) Receiver controls sender so sender doesn’t overflow receiver’s buffer by transmitting too much

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

What is window size?

A

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

What is incremental congestion control?

A

(TCP) When connection is established, sender initialises window to size of max segment in use on the connection and transmits 1 segment. If this is acknowledged before timer expires, sender adds another segment’s worth of bytes to congestion window (now 2 max size segments) and transmits 2 segments. Each time a new segment is acknowledged, congestion window increased by 1 max segment size. Each acknowledgement doubles congestion window, which grows until timeout occurs or receiver’s specified window is reached.

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

What’s flow control?

A

(TCP) window-based

Sender limits number of outstanding bytes (window size) and receiver window ensures data does not overflow receiver

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

What is congestion control?

A

(TCP) adapting to packet losses
Congestion window tries to avoid overloading the network (increase if delivery is successful, decrease with loss)
TCP connection starts with small initial congestion window

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

What is role of slow start algorithm within context of TCP congestion control?

A

Method used to determine congestion window size for transmission based on doubling size of data to be transmitted until a size where no acknowledgements for transmission are received. With certain additions to basic algorithm we can obtain dynamic method to control transmission of data over internet

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