Home> Common Problem> body text

What protocol is ICMP?

青灯夜游
Release: 2019-06-05 09:17:39
Original
6580 people have browsed it

ICMP is (Internet Control Message Protocol) Internet Control Message Protocol. It is a subprotocol of the TCP/IP protocol suite and is used to transmit control messages between IP hosts and routers. Control messages refer to messages about the network itself, such as network connectivity, whether the host is reachable, and whether routes are available. Although these control messages do not transmit user data, they play an important role in the transmission of user data.

What protocol is ICMP?

#The ICMP protocol is a connectionless-oriented protocol used to transmit error reporting control information. It is a very important protocol and it is extremely important for network security.

It is a sub-protocol of the TCP/IP protocol suite and is a network layer protocol. It is mainly used to transfer control information between hosts and routers, including reporting errors, exchanging restricted control and status information, etc. When IP data cannot access the target or the IP router cannot forward data packets at the current transmission rate, ICMP messages will be automatically sent. The value of the protocol type field (Protocol 8bit) in the header of the IP frame structure of the ICMP message is =1.

ICMP provides consistent and easy-to-understand error reporting information. The sent error message is returned to the device that sent the original data, because only the sending device is the logical recipient of the error message. The sending device can then determine the type of error that occurred based on the ICMP message and determine how best to resend the failed packet. But the only function of ICMP is to report problems rather than correct errors. The task of correcting errors is completed by the sender.

We often use the ICMP protocol in the network. For example, we often use the Ping command (available in both Linux and Windows) to check whether the network is accessible. This "Ping" process is actually ICMP. The process of agreement work. There are other network commands such as the Tracert command that trace routes, which are also based on the ICMP protocol.

The above is the detailed content of What protocol is ICMP?. 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!