ICMP 协议是用的几号什么端口通信

2015-01-04 11:20:20 +08:00
 webjin

ICMP协议是用的几号什么端口通信

5916 次点击
所在节点    问与答
11 条回复
bugeye
2015-01-04 11:27:37 +08:00
ICMP没有端口的概念。
Draplater
2015-01-04 11:34:52 +08:00
端口是TCP/UDP的概念
zent00
2015-01-04 11:48:32 +08:00
ICMP 只有 Type,没有端口的概念,比如我们平常发出去的 ping 请求就是 Type 8
dant
2015-01-04 12:02:01 +08:00
ICMP 协议和 IP 协议同级
riaqn
2015-01-04 12:23:49 +08:00
楼上说错了吧 icmp是ip之上的,和tcp/udp同级。
damngood
2015-01-04 12:50:52 +08:00
@riaqn
@dant
icmp 是 ip 的上层协议, 但是总感觉也不能就说和 tcp/udp 同级, tcp/udp 的实现蛮依赖 icmp 的呢
lixm
2015-01-04 13:55:31 +08:00
icmp igmp 是网络层协议
riaqn
2015-01-04 18:47:07 +08:00
@damngood TCP/UDP的实现依赖ICMP? 没听说过,求解释.
damngood
2015-01-04 21:46:30 +08:00
@riaqn 我记得主要是在 tcp 流量控制, 差错处理和keep alive 这些地方吧.
icmp 作为网络层控制管理协议, 被使用到的地方很广
riaqn
2015-01-04 21:55:50 +08:00
@damngood 额..我谷歌了一下搜不到啊..你说的这些东西我记得都是tcp自己就能解决的啊..我找到的唯一把tcp和icmp关联起来的是:
In current TCP networks, TCP relies on packet drops as the indication of congestion. TCP implementation also respond to ICMP source quench messages, but they are rarely used because they consume network bandwidth in times of congestion.
damngood
2015-01-04 22:00:19 +08:00
@riaqn 翻翻 TCP/IP 协议卷一看看, 我记得里面有提到

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/159003

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX