What is a TCP (Transmission Control Protocol) ? TCP vs UDP

Spread the love
Hello Guys ! How are You ? I think all of you will be fine and living a happy life. So most welcome in my other blog, In this article you will learn about What is a TCP (Transmission Control Protocol) ? TCP vs UDP. 


At this time everyone uses the Internet in computers, laptops and mobiles. But the question is how the Internet works and how the Internet connects to each other ? 
The largest number of computer networks are connected with wired or wireless by the help of the Internet. It shares information including text, images, videos, audio and many more things. 
Internet is a internetwork means it is combination of networks. Okay I’ll understand what is the internet but what is a network ? 
Networks is a set of device that are connect and communicate to each other and networks have 4 types that are used in different conditions :-
  1. Local Area Networks (LAN)
  2. Wide Area Networks  (WAN)
  3. Personal Area Networks (PAN)
  4. Metropolitan Area Networks (MAN)

I think you will understand basic knowledge about the Internet. So let’s start our main topic: what is a TCP (Transmission Control Protocol) ?

What is a TCP (Transmission Control Protocol):-

A TCP (Transmission Control Protocol) is a connection oriented and reliable protocol that helps to transmit data from one device to another device. Actually TCP is a combination of GBN (Go-Back-N Protocol) and SR (Selective Repeat Protocol). 
Computers and mobiles have different addresses and what we call Internet Protocol and with the help of Internet Protocol (IP) two different devices are connected to each other and transmitted data from one device to another. 
TCP manages and controls data transmission from one device to another as a form of data packets means how data packets transfer, uploading files and downloading files.
TCP support hierarchical protocol interactive model that support communication between two devices and hierarchical protocol means:-
“Upper layer protocols supported one or more lower layer protocols.”
for example:-
Suppose you have to download some files from the webpage and the size of the file is 5 MB which is divided into 5 parts. If 4 packages are downloaded due to net problems, the complete files will not be created. The TCP maintains connections between the client and the server until the packet is received.

Early History of TCP :-

In 1973 Cerf and Kahn’s developed protocols to transfer data in end to end form, which is a new version of NCP. And 1977 internet have 3 different networks:- 
  • Packet Radio
  • Packet satellite
 TCP (Transmission Control Protocol) and IP (Internet Protocol) are becoming backbone of the Internet. IP (Internet Protocol) handle datagram routing and also high level segmentation.
Now you will understand what is a TCP (Transmission Control Protocol) ? Let’s explore TCP protocol suite or TCP layers. 
A TCP can be divided into 4 protocol layers :-
  1. Application layer
  2. Transport layer
  3. Network Access layer
  4. Data link layer


After understanding the concept of logical communication then we are ready to discuss the protocols suite and their works.

Application Layer :-

An application layer establishes a logical connection between two end to end layers and In this layer two programs are running means the process sends the data and data are received by receiver and response the process.
The HTTP (Hypertext transfer protocol) is a main source to access the internet. there are some examples of an application layers:-
HTTP (Hypertext transfer protocol)
DNS (Domain name system)
SMTP (Simple mail transfer protocol)

Transport Layer :-

It is also a logical connection at end to end and it behaves like a source host and gets messages from the application layer and it is also responsible for transfer and delivery of the message to the destination host.
At this time you thought why we need the transport end to end layer if we have application end to end layer then answer is very simple :- 
The separation of task and duties of each protocol layer that means there are a few transport layer protocols that are designed for some specific task and establish a logical connection between transport layer and host.

Network Layer :-

This layer is used for creating connection between the source computer and destination computer, The network layer is eligible to choose the best route to transfer data packets from two hosts. 
Network layers easily define the format of packets and known as datagram. 
Network layer supports unicast as well as multicast data packets. Unicast means data packets transfer from one device to only one device and Multicast means data packets transfer from one device to many more devices.
Internet Protocol (IP):- IP provide no flow control, no error control and no control services and it is connectionless protocols.


Data link layer:-

Data link is used to transmit the datagram across the link, and that packets are known as frame. Datagram travel from host to destination, TCP supports all standard protocols. Each link layer’s work and separation of task and duties is different. 
so all of you must have understood what is a TCP (Transmission Control Protocol) ? And its layer suite. 
Now let us understand the characteristics of TCP.
Characteristics of TCP:-
  1. TCP provides a process to process communication.
  2. TCP transmit data or message (sending and receiving process ) with undefined boundaries.
  3. TCP sends data and messages in bytes form and receives also in bytes form.
  4. Data packets can’t be changed in the transmission process.
  5. TCP can easily check error and recovery mechanisms.
  6. TCP has an end to end communication protocol.
  7. TCP support full duplex communication means data can be flow in both directions at the same time.
  8. If TCP connection is terminated then it supports multiplexing and demultiplexing communications.
  9. Data arrives in safe and secure mode.
  10. TCP connections oriented and reliable protocol.
So guys hopefully all of you must have understood what is a TCP (Transmission Control Protocol) ? And its layer suite and characteristics of TCP.
Then understand what is UDP ?

UDP :-

Stand form of UDP is User Datagram Protocol and it is a connectionless and unreliable protocol and it does not support internet protocol. UDP is best for small and simple protocols with minimum overhead means UDP takes very less time to transfer the data.
UDP packets are known as user datagrams. 


  1. UDP is mostly used in internal flow control and error control.
  2. UDP easily supports multicasting protocol.
  3. UDP is mostly used in the management process.

Difference between TCP and UDP :-



  • TCP vs UDP 
“If you are using mobile then please rotate the screen.”




 The stand form of TCP is  Transmission control Protocol.



The stand form of UDP is User        Datagram Protocol.


TCP is connection oriented protocol.



UDP is connection less protocol.



TCP process speed is so high.



UDP process speed is low.


Data transfer in byte stream.



Data transfer in packet stream.


Data or message or send with undefined boundaries.



Data or message or send with defined boundaries.



Thank you for reading my article. I hope all of you understand What is a TCP (Transmission Control Protocol) ? TCP vs UDP. 




Leave a Comment

Your email address will not be published.