Junior
What is the characteristic feature of TCP protocols?
sobes.tech AI
Answer from AI
TCP (Transmission Control Protocol) is a transport layer protocol that provides reliable, connection-oriented, and stream-oriented data transfer.
Features of TCP:
- Reliable Data Delivery: TCP guarantees delivery of all data in the correct order and without loss. It uses acknowledgment (ACK) mechanisms, retransmission, and error checking (checksum).
- Connection-Oriented: Before data exchange, the sender and receiver establish a logical connection (three-way handshake).
- Stream Data Transfer: TCP treats data as a continuous stream of bytes, not as separate packets.
- Flow Control: A mechanism to manage the rate of data sending to prevent buffer overflow at the receiver. It uses a sliding window.
- Congestion Control: A mechanism to manage the volume of traffic sent into the network to avoid congestion. It employs algorithms like Slow Start, Congestion Avoidance, Fast Retransmit, and Fast Recovery.
- Segmentation and Reassembly: TCP segments large data volumes for transmission and reassembles them on the receiver's side.
- Sequence Number: Each segment is assigned a sequence number for correct data reassembly and to identify lost segments.
- Ports: Uses port numbers to identify specific applications or services on the host.