TransportLayerII Flashcards

1
Q

What is TCP’s main service?

A

Reliable, ordered, and error-checked delivery of a stream of bytes between applications.

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

What is the TCP three-way handshake?

A

SYN (synchronize) -> SYN-ACK (synchronize-acknowledge) -> ACK (acknowledge) to establish a connection.

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

What are TCP sequence numbers?

A

Numbers that identify the order of bytes sent and received in a connection.

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

What is an acknowledgment (ACK) number in TCP?

A

The number of the next expected byte from the other side.

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

What is flow control in TCP?

A

A mechanism to prevent sender from overwhelming receiver’s buffer space.

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

How does TCP implement flow control?

A

By using the ‘window size’ field in the TCP header.

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

What is congestion control in TCP?

A

Mechanisms to prevent network congestion by adjusting the rate of data transmission.

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

What is slow start in TCP?

A

An algorithm that increases transmission rate exponentially until loss is detected.

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

What happens during TCP fast retransmit?

A

A packet is retransmitted after receiving 3 duplicate ACKs before a timeout.

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

When does TCP use timers?

A

To detect segment loss and trigger retransmissions if ACKs are not received in time.

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