Home > Common Problem > body text

Which layer does the http protocol belong to?

云罗郡主
Release: 2020-09-14 13:51:03
Original
77062 people have browsed it

http protocol belongs to the application layer. The http protocol specifies what messages a client may send to the server and what responses it may receive. The application layer is also called an application entity, which consists of several specific application service elements and one or more common application service elements.

Which layer does the http protocol belong to?

What layer does http belong to?

http is the transmission protocol, and the HTTP protocol belongs to the application layer. An application that communicates with other computers, which corresponds to the communication service of the application. [Recommended tutorial: HTTP video tutorial]

The communication protocol adopts a 4-layer hierarchical structure. Each layer calls the network provided by the next layer to complete its own needs. . These 4 layers are:

1. Application layer: The layer for communication between applications, such as Simple Email Transfer (SMTP), File Transfer Protocol (FTP), Network Remote Access Protocol (Telnet), Hypertext Transport Protocol (HTTP), Extensible Communication and Presentation Protocol (XMPP), etc.

2. Transport layer: In this layer, it provides data transmission services between nodes, such as Transmission Control Protocol (TCP), User Datagram Protocol (UDP), etc. TCP and UDP are added to the data packet Transmit data and pass it to the next layer, which is responsible for transmitting the data and ensuring that the data has been delivered and received.

3. Interconnection network layer: Responsible for providing basic data packet transmission functions so that each data packet can reach the destination host (but does not check whether it is received correctly), such as Internet Protocol (IP).

4. Network interface layer: Management of actual network media, defining how to use actual networks (such as Ethernet, SerialLine, etc.) to transmit data.

The above is the detailed content of Which layer does the http protocol belong to?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template