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
How to know when to sell your stocks? Easy way to calculate gains - Public.com
Brain-based Techniques for Retention of Information | School of Medicine
Netr Aerial Viewer
Occupational therapist
Western Union Mexico Rate
OSRS Fishing Training Guide: Quick Methods To Reach Level 99 - Rune Fanatics
How Much Is 10000 Nickels
Tyrunt
Cumberland Maryland Craigslist
Hay day: Top 6 tips, tricks, and cheats to save cash and grow your farm fast!
Back to basics: Understanding the carburetor and fixing it yourself - Hagerty Media
Ucf Event Calendar
The Blind Showtimes Near Showcase Cinemas Springdale
Delectable Birthday Dyes
Busby, FM - Demu 1-3 - The Demu Trilogy - PDF Free Download
Niche Crime Rate
Delaware Skip The Games
Saritaprivate
Walgreens Alma School And Dynamite
Tyrone Unblocked Games Bitlife
Military life insurance and survivor benefits | USAGov
Mj Nails Derby Ct
Two Babies One Fox Full Comic Pdf
Tire Plus Hunters Creek
Mikayla Campinos: Unveiling The Truth Behind The Leaked Content
CVS Health’s MinuteClinic Introduces New Virtual Care Offering
Big Boobs Indian Photos
Tracking every 2024 Trade Deadline deal
Does Royal Honey Work For Erectile Dysfunction - SCOBES-AR
134 Paige St. Owego Ny
Smayperu
Little Caesars Saul Kleinfeld
Appraisalport Com Dashboard /# Orders
Ducky Mcshweeney's Reviews
Weapons Storehouse Nyt Crossword
Bianca Belair: Age, Husband, Height & More To Know
Craigslist Putnam Valley Ny
What Is Kik and Why Do Teenagers Love It?
Uvalde Topic
Anthem Bcbs Otc Catalog 2022
Tom Kha Gai Soup Near Me
Dagelijkse hooikoortsradar: deze pollen zitten nu in de lucht
Accident On 40 East Today
Unblocked Games 6X Snow Rider
Dineren en overnachten in Boutique Hotel The Church in Arnhem - Priya Loves Food & Travel
Divisadero Florist
Hcs Smartfind
Secondary Math 2 Module 3 Answers
How to Find Mugshots: 11 Steps (with Pictures) - wikiHow
Ocean County Mugshots
Invitation Quinceanera Espanol
Generator für Fantasie-Ortsnamen: Finden Sie den perfekten Namen
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.