What is the difference between tcp and http?

1 answer

Answer

1148841

2026-03-31 00:05

+ Follow

They are different layers in the network model; TCP is on the transport layer - it provides an error free connection, HTTP is on the application layer and runs on top of TCP to provide hypertext services.

The above is correct. I'm still learning but the way I see it is that the web pages both on the server end and your own end are written in hypertext markup language (HTML). When your computer asks a remote computer to send you a COPY of its webpage, you establish a connection with that remote computer using an agreed protocol called TCP/IP. As I understand it, the IP part connects the IP addresses together and then the TCP part establishes a sort of virtual connection between the two. Hypertext TRANSFER protocol (HTTP) is the agreed way (protocol) in which the remote computer copies its own data, packages it up and sends it down the virtual tube created by the TCP connection, and onwards to your own computer, at which time the (now) downloaded webpage is reassembled in your web browser from the data packets. I'm not sure whether to describe the TCP as a hose-pipe and the HTTP as the water flowing in it but for newbies like me, this explanation might help get closer to the right concept.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.