Transmission Control Protocol - TCP Last Updated : 22 Dec, 2025 Comments Improve Suggest changes 89 Likes Like Report Transmission Control Protocol (TCP) is a connection-oriented protocol for communications that helps in the exchange of messages between different devices over a network. It is one of the main protocols of the TCP/IP suite. In OSI model, it operates at the transport layer(Layer 4). It lies between the Application and Network Layers which are used in providing reliable delivery services. The Internet Protocol (IP), which establishes the technique for sending data packets between computers, works with TCP.TCP establishes a reliable connection between sender and receiver using the three-way handshake (SYN, SYN-ACK, ACK) and it uses a four-step handshake (FIN, ACK, FIN, ACK) to close connections properly.It ensures error-free, in-order delivery of data packets.It uses acknowledgments (ACKs) to confirm receipt.It prevents data overflow by adjusting the data transmission rate according to the receiverâs buffer size.It prevents network congestion using algorithms like Slow Start, Congestion Avoidance, Fast Retransmit, and Fast Recovery.TCP header uses checksum to detect corrupted data and requests retransmission if needed.It is used in applications requiring reliable and ordered data transfer, such as web browsing, email, and remote login.Features of TCPSegment Numbering: Each byte of data is numbered, and segments carry sequence numbers. Acknowledgment numbers confirm successful receipt.Connection-Oriented: Sender and receiver remain connected until data transfer is complete. Data order is preserved.Full Duplex: Data can flow in both directions simultaneously, improving efficiency.Flow Control: Uses a sliding window to prevent the sender from overwhelming the receiver.Error Control: Detects and manages corrupted, lost, duplicate, or out-of-order segments to ensure reliability.Congestion Control: Adjusts the sending rate based on network congestion to avoid overload.Internet Protocol (IP)Internet Protocol (IP) is a method that is useful for sending data from one device to another from all over the internet. It is a set of rules governing how data is sent and received over the internet. It is responsible for addressing and routing packets of data so they can travel from the sender to the correct destination across multiple networks. Every device contains a unique IP Address that helps it communicate and exchange data across other devices present on the internet. Working of Transmission Control Protocol (TCP)TCP manages data transmission between two devices by dividing messages into smaller units called segments and ensuring they are delivered reliably and in order.Data Segmentation: The application data is divided into small segments for efficient transmission instead of sending it all at once.Routing: Each segment can take a different route through the network, depending on traffic or congestion, but all segments eventually reach the same destination.Reassembly: At the receiverâs end, TCP reassembles these segments into the original message using sequence numbers.Acknowledgment: The receiver sends ACK (acknowledgment) messages back to confirm successful receipt of each segment. If an acknowledgment isnât received, TCP retransmits the missing segment.Error and Flow Control: TCP uses checksums to detect errors and a sliding window mechanism to control the flow of data, ensuring the receiver isnât overwhelmed.TCPExample: When a user requests a webpage:The browser (client) uses HTTP, which relies on TCP to create a connection.TCP breaks the web page (HTML file) into packets and hands them to the IP layer for delivery.At the userâs end, TCP reassembles the packets and confirms successful transmission through acknowledgments. CharacteristicsIt is a reliable protocol which provides an error-checking mechanism as well as one for recovery.It makes sure that the data reaches the proper destination in the exact order that it was sent.It is a well-documented and widely implemented protocol, maintained by standards organizations like the IETF (Internet Engineering Task Force).It works in conjunction with IP (Internet Protocol) to establish connections between devices on a network.TCP is made for Wide Area Networks, thus its size can become an issue for small networks with low resources.TCP runs several layers so it can slow down the speed of the network.It is not generic in nature. It cannot represent any protocol stack other than the TCP/IP suite. E.g., it cannot work with a Bluetooth connection.No modifications since their development around 30 years ago. Create Quiz TCP Header in Computer Network Visit Course Comment J jaygala260 Follow 89 Improve J jaygala260 Follow 89 Improve Article Tags : Computer Subject Computer Networks Explore Computer Network BasicsBasics of Computer Networking4 min readTypes of Computer Networks5 min readIntroduction to Internet5 min readNetwork Devices4 min readWhat is OSI Model? - Layers of OSI Model11 min readTCP/IP Model6 min readOSI and TCP/IP Model4 min readPhysical LayerPhysical Layer in OSI Model3 min readTypes of Network Topology9 min readTransmission Modes3 min readTransmission Media in Computer Networks7 min readData Link LayerData Link Layer in OSI Model4 min readSwitching | Computer Networks3 min readVirtual LAN (VLAN)3 min readFraming in Data Link Layer3 min readError Control in Data Link Layer3 min readFlow Control4 min readPiggybacking in Computer Networks2 min readNetwork LayerNetwork Layer in OSI Model3 min readIntroduction of Classful IP Addressing9 min readClassless Addressing in IP Addressing7 min readWhat is an IP Address?11 min readIPv4 Datagram Header4 min readDifference Between IPv4 and IPv63 min readPublic and Private IP addresses4 min readIntroduction To Subnetting5 min readWhat is Routing?10 min readNetwork Layer Protocols9 min readTransport LayerTransport Layer in OSI Model4 min readTransport Layer Protocols9 min readTransmission Control Protocol - TCP4 min readUser Datagram Protocol - UDP3 min readSession Layer & Presentation LayerSession Layer in OSI model2 min readPresentation Layer in OSI model2 min readSecure Socket Layer (SSL)4 min readPoint-to-Point Tunneling Protocol - PPTP2 min readMultipurpose Internet Mail Extension (MIME) Protocol3 min readApplication LayerApplication Layer in OSI Model4 min readClient-Server Model3 min readWorld Wide Web (WWW)5 min readIntroduction to Electronic Mail4 min readWhat is a Content Distribution Network and how does it work?4 min readProtocols in Application Layer4 min readAdvanced TopicsWhat is Network Security?4 min readQuality of Service and Multimedia5 min readAuthentication in Computer Network3 min readEncryption, Its Algorithms And Its Future6 min readIntroduction of Firewall in Computer Network3 min readMAC Filtering in Computer Network3 min readWi-Fi Standards Explained2 min readWhat is Bluetooth?6 min readGenerations of wireless communication2 min readCloud Networking4 min readPracticeTop 50 Plus Networking Interview Questions and Answers15+ min readTop 50 TCP/IP Interview Questions and Answers 202515+ min readNetwork Fundamentals Interview Questions - Computer Networks15+ min readLast Minute Notes for Computer Networks15+ min readComputer Network - Cheat Sheet15+ min read Like