当前位置:网站首页>Ping tool ICMP message learning

Ping tool ICMP message learning

2022-07-07 10:56:00 Taylor lance

First , Here is a good blog :
entrance

Let's make a conclusion first ,Ping It's through IP+ICMP The agreement was sent , This is our tradition UDP and TCP Dissimilarity , It creates sockets directly from IP Layer accepts data , For details, please refer to the above documents .

Why? ICMP Of ping and tracert Not pass tcp or udp?

Another is sending UDP after , If the other port does not exist , Then the other server will return a ICMP message , This is shown below :
 Insert picture description here
About how to make UDP Get whether the opposite port exists , You can read this blog :
entrance
 Insert picture description here

原网站

版权声明
本文为[Taylor lance]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130622068764.html