Examples of TCP/IP and HTTP understanding

Source: Internet
Author: User

Leisure in the blog park, see TCP/IP and HTTP keywords, suddenly want to understand them (formerly really only known fur), so read about TCP/IP and HTTP blog, there is this article.

First of all, open Systems Interconnection Reference Model (Osi:open system interconnect), OSI seven layer model as follows, each layer of meaning can be Baidu, the physical layer for the bottom:

The application layer (application layer),

Presentation layers (presentation layer),

Session layer,

Transport layer (transport layer),

Network layer,

Data link layer (datalink layer),

Physical layers (physical layer).

Full name of 1.TCP/IP and HTTP

TCP/IP is a transmission Control Protocol/Internet Protocol (transmission protocol/internet Protocol)

HTTP is a Hypertext Transfer Protocol (hypertext Transfer Protocol)

The difference between 2.TCP/IP and HTTP

1). TCP/IP is based on the protocol that supports duplex communication, HTTP is a request-reply protocol;

2). TCP/IP is the Transport Layer protocol, HTTP is the application layer protocol;

3). TCP/IP primarily addresses how data is transmitted over the network, and HTTP primarily addresses how data is packaged.

3. "TCP/IP primarily addresses how data is transmitted; HTTP main solution How to package data" illustration

such as freight a truck flowers to a place:

TCP/IP is responsible for transporting flowers to their destination, andHTTP is responsible for how the flowers are discharged in the truck, how they are packaged,

If you do not use HTTP, flowers can also be transported to, but estimated that the flowers have been messy, only through the packaging of the HTTP protocol, after the release of flowers, and then through the TCP/IP protocol transport to the destination, the car flowers have market value.

Simple analogy, do not know whether it is appropriate, welcome the great God to make comments.

Reference article: http://www.cnblogs.com/xuzy/archive/2009/06/19/1506696.html







Examples of TCP/IP and HTTP understanding

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.