What is tcp
Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.
Last updated: April 1, 2026
Key Facts
- TCP stands for Transmission Control Protocol and is one of the two main protocols in the TCP/IP suite
- TCP establishes connections between devices before transmitting data and ensures all data arrives in the correct order
- Unlike UDP, TCP provides error checking and retransmission of lost packets, guaranteeing reliable delivery
- TCP uses port numbers (0-65535) to identify specific services and applications running on networked computers
- The protocol was standardized in 1974 and remains the foundation for most internet applications including web browsing, email, and file transfer
What is TCP?
TCP, or Transmission Control Protocol, is a fundamental communication protocol used for transmitting data across networks and the internet. It's one of the two primary protocols in the Internet Protocol Suite (TCP/IP), with the other being IP (Internet Protocol). TCP operates at the transport layer of the OSI model and provides a reliable, ordered, and error-checked delivery mechanism for data between applications running on different computers.
How TCP Works
TCP operates using a connection-oriented model, meaning it establishes a connection between two devices before any data is transmitted. This process, known as a three-way handshake, involves the sending computer requesting a connection, the receiving computer acknowledging that request, and the sending computer confirming the acknowledgment. Once the connection is established, data is transmitted in packets, each numbered and sequenced. The receiving device checks each packet for errors and sends acknowledgments back to the sender. If a packet is lost or corrupted, TCP automatically requests retransmission of that specific packet.
Key Features of TCP
TCP provides several important capabilities:
- Reliability: Guarantees that all data arrives correctly through error checking and retransmission
- Ordered delivery: Ensures packets are reassembled in the correct order at the destination
- Flow control: Prevents the sender from overwhelming the receiver with data
- Connection-oriented: Establishes and maintains connections between applications
- Port-based multiplexing: Allows multiple applications to share the network connection
TCP Ports and Applications
TCP uses port numbers to distinguish between different services running on the same computer. Port numbers range from 0 to 65535, with different ranges designated for different purposes. Well-known ports (0-1023) are reserved for standard services like HTTP (port 80), HTTPS (port 443), SMTP (port 25), and FTP (port 21). When you visit a website, send an email, or download a file, you're using TCP on a specific port.
TCP vs. UDP
While TCP ensures reliable delivery, another protocol called UDP (User Datagram Protocol) offers faster but less reliable transmission. UDP doesn't establish connections or guarantee delivery, making it suitable for applications like video streaming or online gaming where speed matters more than perfect accuracy. Most modern internet applications, however, rely on TCP for its reliability.
Related Questions
What is the difference between TCP and UDP?
TCP provides reliable, ordered delivery with error checking and connection establishment, making it slower but more dependable. UDP is faster and connectionless but doesn't guarantee delivery, making it suitable for real-time applications like video calls and online gaming.
What does the three-way handshake mean in TCP?
The three-way handshake is TCP's connection establishment process. The client sends a SYN packet, the server responds with SYN-ACK, and the client sends ACK back. This exchange ensures both devices are ready to communicate.
Why is TCP so widely used on the internet?
TCP is widely used because it guarantees reliable delivery, maintains data integrity, and ensures correct packet ordering. These features are essential for applications like web browsing, email, and file transfer where data accuracy is critical.
More What Is in Daily Life
Also in Daily Life
More "What Is" Questions
Trending on WhatAnswers
Browse by Topic
Browse by Question Type
Sources
- Wikipedia - Transmission Control ProtocolCC-BY-SA-4.0
- RFC 793 - Transmission Control ProtocolPublic Domain
Missing an answer?
Suggest a question and we'll generate an answer for it.