DEV Community

Cover image for The TCP and UDP difference :how it differs from HTTP?
Bhupesh Chandra Joshi
Bhupesh Chandra Joshi

Posted on • Edited on

The TCP and UDP difference :how it differs from HTTP?

I found on the book that protocol is the client server program that extracts the information from the document, it basically retrieve the document, nothing they are just rules.

This seems so funny, we have video hosts and Host is the computer where you are reading the blog, How funny this thing, you need to understand this host is the computer where information is residing, host is the residence of information.

Port number is just a home address of client and server, where you are willing to navigate.

Path is the folder address of the project.

1-Hyper Text Transfer Protocol (HTTP) is a rule for transfer data on internet, it isn't rule for send data in social media.

2- The questions from client are added in a request, the instagram response of the request message are adjuncted in a response.

3-HTTP uses the TCP at port 80.

4-HTTP is a stateless protocol and the client and server knows about each other during the session, after session expired they do not keep the infomation between various requests.


Today we will expose girlfriend boyfriends to understand the difference between tcp and udp. One boy gets a job and he installed a secure wifi connection from airtel.

Nowdays I never impressed by what i saw in mirror, mirror does't requres the connection to be establish for sending the your data to your replica. Mirroring the connection is faster than the connection less tcp protocol. Udp (user datagram protocall) is just like a girlfriend and communication with your friend doesn't require a connection.

A friend and Let's take example of girlfriend, a girl has multiple puppets,so it is unreliable.

  • SO, it's your girlfriend and you are investing money on the girlfriend, so your money and data is lost , there is no gurantee in UDP, Request for girls don't take it personally,it's just for fun,so i got thought ,i thought let's execute this, i don't like to hurt someone, I this case I am a tcp protocol which is a connection oriented and reliable protocol,it is reliable so no data loss.

If tcp and udp is a girl, tcp is dumn girl which has height of 20 bytes and more memory makes it slower protocol.

When we talk about UDP- It's girl with 8 bytes of header (head height) and 8 bytes makes this faster ,cause we have less money in our pocket.

TCP is basic of web browsing ,HTTPS, emailing(SMTP, IMAP, POP3) and ftp. We use udp in places for video conference , DNS ,multimedia and gaming applications, knowing them is mandatory. All blogs are copyrighted and copy / paste data is prohabbited, copy paste kills our mind.

Top comments (0)