TransportLayerII Flashcards
What is TCP’s main service?
Reliable, ordered, and error-checked delivery of a stream of bytes between applications.
What is the TCP three-way handshake?
SYN (synchronize) -> SYN-ACK (synchronize-acknowledge) -> ACK (acknowledge) to establish a connection.
What are TCP sequence numbers?
Numbers that identify the order of bytes sent and received in a connection.
What is an acknowledgment (ACK) number in TCP?
The number of the next expected byte from the other side.
What is flow control in TCP?
A mechanism to prevent sender from overwhelming receiver’s buffer space.
How does TCP implement flow control?
By using the ‘window size’ field in the TCP header.
What is congestion control in TCP?
Mechanisms to prevent network congestion by adjusting the rate of data transmission.
What is slow start in TCP?
An algorithm that increases transmission rate exponentially until loss is detected.
What happens during TCP fast retransmit?
A packet is retransmitted after receiving 3 duplicate ACKs before a timeout.
When does TCP use timers?
To detect segment loss and trigger retransmissions if ACKs are not received in time.