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.
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.
Recommended by LinkedIn
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
Like
Celebrate
Support
Love
Insightful
Funny
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
-
Securing AWS Log Transfers from On-Premises Servers: A Comparative Guide on Using IAM Roles vs. User Credentials with Fluent Bit
Dec 13, 2023
-
Guide: Getting Started with Generative AI in AWS: A Step-by-Step Approach
Jun 5, 2023
-
Permission Policy vs Trust Policy in AWS
Jun 3, 2023
-
Starting new Position at Amazon Web Services (AWS)
Dec 12, 2021
-
Thank you, Strasz Assessment Systems
Dec 10, 2021
- See AlsoHealth Checks for Load Balancers
How to improve Reliability in the Cloud?
Nov 30, 2021
-
Well-Architected Framework on Cloud using Azure Advisor
Nov 18, 2021
-
Introduction to CAP Theorem
Nov 15, 2021
-
Cost Optimization & Strategy with Amazon EC2 Spot Instances
Nov 13, 2021
-
What is Multi-Cloud & it's Strategy?
Nov 9, 2021
No more next content
Sign in
Stay updated on your professional world
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
-
Computer Networking
What are the differences and similarities between TCP and UDP protocols?
-
Computer Networking
How can you ensure IPv6 backward compatibility?
-
Computer Networking
What are the signs of a faulty ethernet adapter and how can you address them?
-
Computer Networking
What are the best ways to measure TCP/IP performance across multiple devices?
-
Computer Networking
How can you monitor EtherChannel and link aggregation performance?
-
Network Engineering
How can you optimize IPv6 for low latency?
-
IPv6
How do you ensure DSCP consistency across different network domains and devices in dual-stack networks?
-
Computer Science
How can you identify OSI and TCP/IP network components?
-
Transmission Control Protocol (TCP)
How do you implement SACK in your network protocol stack?
-
Router Configuration
How do you compare and contrast RIP, OSPF, and EIGRP in terms of scalability, convergence, and complexity?
Others also viewed
-
Demystifying the Network: A Comprehensive Exploration of IP, UDP, ARP, RARP, FTP, SMTP, RTP, HTTP, Telnet, NTP, DHCP, ICMP, and PING Protocols
David Brattain 9mo
-
In brief, Layer 4 of the OSI Model and how it works!
Dr. Allma Johnson 3y
-
#Introduction to TCP/IP Networking Model
Gaurav Sharma 7y
-
Why do we need this RFC?
Patrick Conheady 2y
-
NetBIOS Explained
Ashwin HarishP 1y
-
Demystifying TCP/IP: The Foundation of Internet Communication
Gopal Santra 4mo
-
The Ultimate Guide to Transport Layer Protocols: TCP, UDP, and Beyond
Murtuza Lokhandwala 1mo
-
IP, TCP, and HTTP Explained: Why do they matter?
Asim Hafeez 1y
-
Article on Protocols in Computing Networks
subramanian Gopinath 3w
-
"SETUP BY WHICH WE CAN PING GOOGLE BUT NOT FACEBOOK FROM SAME SYSTEM"
AAFAQ RASHID 3y