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
Center for Internet Security (CIS) Benchmarks - Microsoft Compliance
Billionaire investor Ryan Cohen beats Bed Bath & Beyond shareholder lawsuit
Rosy Boa Snake — Turtle Bay
Pollen Count Centreville Va
Average Jonas Wife
Brady Hughes Justified
Cottonwood Vet Ottawa Ks
Otis Department Of Corrections
BULLETIN OF ANIMAL HEALTH AND PRODUCTION IN AFRICA
Www Craigslist Louisville
Victoria Secret Comenity Easy Pay
Volstate Portal
Doby's Funeral Home Obituaries
ds. J.C. van Trigt - Lukas 23:42-43 - Preekaantekeningen
2013 Chevy Cruze Coolant Hose Diagram
Günstige Angebote online shoppen - QVC.de
Rainfall Map Oklahoma
Find Such That The Following Matrix Is Singular.
Costco Gas Foster City
Lazarillo De Tormes Summary and Study Guide | SuperSummary
Voy Boards Miss America
Indiana Wesleyan Transcripts
Aps Day Spa Evesham
Highmark Wholecare Otc Store
Www Pointclickcare Cna Login
Craigslist Dubuque Iowa Pets
Booknet.com Contract Marriage 2
Papa Johns Mear Me
Pulitzer And Tony Winning Play About A Mathematical Genius Crossword
Does Royal Honey Work For Erectile Dysfunction - SCOBES-AR
Issue Monday, September 23, 2024
Murphy Funeral Home & Florist Inc. Obituaries
Bee And Willow Bar Cart
Garrison Blacksmith's Bench
Pitco Foods San Leandro
The Mad Merchant Wow
Dynavax Technologies Corp (DVAX)
Chatropolis Call Me
Koninklijk Theater Tuschinski
Tillman Funeral Home Tallahassee
Gary Lezak Annual Salary
Craigslist Pa Altoona
Nba Props Covers
Penny Paws San Antonio Photos
Az Unblocked Games: Complete with ease | airSlate SignNow
Greg Steube Height
Cara Corcione Obituary
Rovert Wrestling
Evil Dead Rise - Everything You Need To Know
Public Broadcasting Service Clg Wiki
Renfield Showtimes Near Regal The Loop & Rpx
La Fitness Oxford Valley Class Schedule
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.