Sobes.tech
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:

  1. 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).
  2. Connection-Oriented: Before data exchange, the sender and receiver establish a logical connection (three-way handshake).
  3. Stream Data Transfer: TCP treats data as a continuous stream of bytes, not as separate packets.
  4. Flow Control: A mechanism to manage the rate of data sending to prevent buffer overflow at the receiver. It uses a sliding window.
  5. 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.
  6. Segmentation and Reassembly: TCP segments large data volumes for transmission and reassembles them on the receiver's side.
  7. Sequence Number: Each segment is assigned a sequence number for correct data reassembly and to identify lost segments.
  8. Ports: Uses port numbers to identify specific applications or services on the host.