Which mechanism does TCP use to confirm that data sent from one computer is received correctly by another?
Think about how a sender knows the receiver got the message.
TCP uses acknowledgments (ACKs) to confirm that data packets have been received. If an ACK is not received, TCP resends the data.
Why does TCP assign sequence numbers to data packets?
Think about how TCP keeps track of the order of data.
Sequence numbers allow TCP to arrange packets in the correct order and detect if any packets are missing, enabling retransmission.
Consider a TCP connection where a packet is lost. What does TCP do to handle this situation?
Think about how TCP ensures all data arrives despite losses.
TCP uses timers to detect missing acknowledgments. If an ACK is not received within a timeout, TCP retransmits the lost packet.
Which reason best explains why TCP is considered connection-oriented?
Think about what happens before TCP starts sending data.
TCP establishes a connection through a handshake process before sending data, ensuring both sides are ready and agree on communication parameters.
Which mechanism does TCP use to prevent sending too much data too quickly to the receiver?
Consider how TCP adapts to the receiver's ability to process data.
TCP uses a sliding window mechanism for flow control, allowing the sender to send only as much data as the receiver can handle at a time.