What Is Transmission Control Protocol (TCP) - GeeksforGeeks
What Is Transmission Control Protocol (TCP) - GeeksforGeeks
What Is Transmission Control Protocol (TCP) - GeeksforGeeks
Read Discuss
TCP (Transmission Control Protocol) is one of the main protocols of the Internet
protocol suite. It lies between the Application and Network L ayers which are used in
TCP/IP L ayer
Working of TCP
To make sure that each message reaches its target location intact, the TCP/IP model
breaks down the data into small bundles and af ter ward reassembles the bundles into
the original message on the opposite end. Sending the information in little bundles of
Start Your Coding Journey Now!
information makes it simpler to maintain efficiency as opposed to sending ever ything
Login Register
in one go.
Af ter a par ticular message is broken down into bundles, these bundles may travel
along multiple routes if one route is jammed but the destination remains the same.
We can see that the message is being broken down, then reassembled from a different order at the destination
For example, When a user requests a web page on the internet, somewhere in the
world, the ser ver processes that request and sends back an HTML Page to that user.
The ser ver makes use of a protocol called the HT TP Protocol. The HT TP then
requests the TCP layer to set the required connection and send the HTML file.
Now, the TCP breaks the data into small packets and for wards it towards the Internet
Protocol (IP) layer. The packets are then sent to the destination through different
routes.
Start Your Coding Journey Now!
The TCP layer in the user ’s system waits for the transmission to get finished and
Login Register
acknowledges once all packets have been received.
Features of TCP/IP
TCP keeps track of the segments being transmitted or being received by assigning
A specific Byte Number is assigned to data bytes that are to be transferred while
2. Flow Control
Flow control limits the rate at which a sender transfers data. This is done to ensure
reliable deliver y.
The receiver continually hints the sender on how much data can be received (using
a sliding window)
3. Error Control
Error Control includes – Corrupted Segment & Lost Segment Management, Out-
4. Congestion Control
Advantages
It is a reliable protocol
It makes sure that the data reaches the proper destination in the exact order that it
was sent
Login Register
each site thus making each device site to be distinguishable over the network.
Disadvantages
TCP is made for Wide Area Networks, thus its size can become an issue for small
TCP runs several layers so it can slow down the speed of the network
It is not generic in nature. Meaning, it cannot represent any protocol stack other
than the TCP/IP suite. E.g., it cannot work with a Bluetooth connection.
Like 27
Next
Ar ticle Contributed By :
jaygala260
@jaygala260
Current difficulty :
Basic
News Languages
Top News
Python
Technology
Java
Work & Career
CPP
Business
Golang
Finance
C#
Lifestyle
SQL
Knowledge
Kotlin
@geeksforgeeks
, Some rights reserved