10. TCP Flashcards

1
Q

What ensures reliability in TCP?

A

Mechanisms like sequence numbers, acknowledgments (ACKs),
retransmissions, and error checking ensure reliable delivery.

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

What is the purpose of the TCP three-way handshake?

A

To establish a reliable connection by synchronizing sequence numbers and
confirming readiness between the sender and receiver.

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

How does TCP handle flow control?

A

TCP uses a sliding window protocol to manage the flow of data, ensuring the
sender does not overwhelm the receiver.

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

What is the congestion window, and how does it help manage network
congestion?

A

The congestion window dynamically adjusts the rate of data transmission
based on network conditions to prevent congestion.

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

What happens during TCP connection termination?

A

TCP uses a four-step process with FIN and ACK messages to gracefully close
the connection.

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

What is the maximum segment size (MSS) in TCP, and how is it determined?

A

MSS is the largest amount of data TCP can send in one segment, determined
by subtracting the TCP and IP headers from the MTU.

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