Sobes.tech
Junior

What are the features of TCP protocols?

sobes.tech AI

Answer from AI

TCP (Transmission Control Protocol) is a reliable transport layer protocol that ensures guaranteed delivery of data in the correct order.

Main features:

  • Connection establishment (Handshake): A three-way handshake (SYN, SYN-ACK, ACK) is performed before data transfer.
  • Reliable delivery: Uses acknowledgment (ACK) mechanisms and retransmission of lost packets.
  • Ordered delivery: Packets are delivered in the order they were sent, even if they arrive late or via different routes.
  • Stream-oriented: TCP treats data as a continuous stream of bytes, not as separate messages or packets.
  • Flow control: The receiver can regulate the sending rate to prevent buffer overflow.
  • Congestion control: Mechanisms to prevent and alleviate network congestion.
  • Full-duplex communication: Data can be transmitted in both directions simultaneously over a single connection.

TCP is suitable for applications requiring high reliability and ordered data delivery, such as web browsing (HTTP/HTTPS), email (SMTP), file transfer (FTP), and remote access (SSH).