TCP vs HTTP (2024)

TCP vs HTTP (1)

Rupesh Tiwari TCP vs HTTP (2)

Rupesh Tiwari

Published Aug 26, 2021

TCP: is a transport-layer protocol, and HTTP is an application-layer protocol that runs over TCP.

To understand the difference between TCP and HTTP you need to understand the idea of a layered networking model. Essentially, there are different protocols that let a computer talk at different distances and different layers of abstraction.

TCP vs HTTP (3)

At the very bottom of the network stack is the physical layer. This is where electrical signals or light pulses or radio waves actually transmit information from place to place. The physical layer doesn't really have protocols, but instead has standards for voltages, frequencies, and other physical properties. You can transmit information directly this way, but you need a lot of power or a dedicated line, and without higher layers you won't be able to share bandwidth.

The next layer up is the link layer. This layer covers communication with devices that share a physical communications medium. Here, protocols like Ethernet, 802.11a/b/g/n, and Token Ring specify how to handle multiple concurrent accesses to the physical medium and how to direct traffic to one device instead of another. In a typical home network, this is how your computer talks to your home "router."

The third layer is the network layer. In the majority of cases, this is dominated by Internet Protocol (IP). This is where the magic of the Internet happens, and you get to talk to a computer halfway around the world, without needing to know where it is. Routers handle directing your traffic from your local network to the network where the other computer lives, where its own link layer handles getting the packets to the right computer.

Now we are getting somewhere. We can talk to a computer somewhere around the world, but that computer is running lots of different programs. How should it know which one to deliver your message to? The transport layer takes care of this, usually with port numbers. The two most popular transport layer protocols are TCP and UDP. TCP does a lot of interesting things to smooth over the rough spots of network-layer packet-switched communication like reordering packets, retransmitting lost packets, etc. UDP is more unreliable, but has less overhead.

So we've connected your browser to the web server software on the other end, but how does the server know what page you want? How can you post a question or an answer? These are things that application-layer protocols handle. For web traffic, this is the Hypertext Transfer Protocol (HTTP). There are thousands of application-layer protocols: SMTP, IMAP, and POP3 for email; XMPP, IRC, ICQ for chat; Telnet, SSH, RDP for remote administration; etc.

These are the five layers of the TCP/IP networking model, but they are really only conceptual. The OSI model has 7 layers. In reality, some protocols shim between various layers, or can work at multiple layers at once. TLS/SSL for instance provides encryption and session information between the network and transport layers. Above the application layer, Application Programming Interfaces (APIs) govern communication with web applications like Quora, Twitter, and Facebook.

References

TCP vs HTTP (14)

Al Farabi

Software Developer at Automatio | Node.js, PostgreSQL, TypeScript

1y

The article is helpful. But there is a spelling mistake where you talked about data link layer. You forgot to add "Data" before link

To view or add a comment, sign in

More articles by this author

No more previous content

No more next content

Sign in

Stay updated on your professional world

Sign in

By clicking Continue to join or sign in, you agree to LinkedIn’s User Agreement, Privacy Policy, and Cookie Policy.

New to LinkedIn? Join now

Insights from the community

Others also viewed

Explore topics

TCP vs HTTP (2024)
Top Articles
What is NTP, why do you need it, and how to install/configure it? Guide for DevOps engineers.
Nursing Workforce Fact Sheet
Parke County Chatter
Noaa Charleston Wv
Occupational therapist
Chambersburg star athlete JJ Kelly makes his college decision, and he’s going DI
Ghosted Imdb Parents Guide
The 10 Best Restaurants In Freiburg Germany
Professor Qwertyson
Sissy Transformation Guide | Venus Sissy Training
Nm Remote Access
Stolen Touches Neva Altaj Read Online Free
Heska Ulite
Nieuwe en jong gebruikte campers
How To Delete Bravodate Account
Turning the System On or Off
Pittsburgh Ultra Advanced Stain And Sealant Color Chart
How to find cash from balance sheet?
Bahsid Mclean Uncensored Photo
Xomissmandi
Cta Bus Tracker 77
Where Is The Nearest Popeyes
Graphic Look Inside Jeffrey Dahmer
Ppm Claims Amynta
Wics News Springfield Il
Chime Ssi Payment 2023
Table To Formula Calculator
Farm Equipment Innovations
Xxn Abbreviation List 2023
Winterset Rants And Raves
Amazing Lash Bay Colony
Stouffville Tribune (Stouffville, ON), March 27, 1947, p. 1
Armor Crushing Weapon Crossword Clue
Hoofdletters voor God in de NBV21 - Bijbelblog
Swgoh Boba Fett Counter
Angela Muto Ronnie's Mom
Plato's Closet Mansfield Ohio
Marine Forecast Sandy Hook To Manasquan Inlet
Reborn Rich Ep 12 Eng Sub
To Give A Guarantee Promise Figgerits
Atlanta Musicians Craigslist
Stranahan Theater Dress Code
Todd Gutner Salary
Foxxequeen
Craigslist Rooms For Rent In San Fernando Valley
Cabarrus County School Calendar 2024
Candise Yang Acupuncture
Professors Helpers Abbreviation
Craigslist Houses For Rent Little River Sc
How to Do a Photoshoot in BitLife - Playbite
De Donde Es El Area +63
Latest Posts
Article information

Author: Roderick King

Last Updated:

Views: 6372

Rating: 4 / 5 (71 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Roderick King

Birthday: 1997-10-09

Address: 3782 Madge Knoll, East Dudley, MA 63913

Phone: +2521695290067

Job: Customer Sales Coordinator

Hobby: Gunsmithing, Embroidery, Parkour, Kitesurfing, Rock climbing, Sand art, Beekeeping

Introduction: My name is Roderick King, I am a cute, splendid, excited, perfect, gentle, funny, vivacious person who loves writing and wants to share my knowledge and understanding with you.