哪个协议负责管理重传?以太网协议或 TCP 或两者兼而有之?
我想知道 哪个协议负责管理重传?以太网协议或 TCP 或两者兼而有之?
我正在参加 TCPIP 课程,但我不清楚哪个协议负责管理重传
I wonder
which protocol is responsible for managing retransmission? the ethernet protocol or tcp or both?
I was attending a TCPIP course and it is not clear for me which protocol is responsible for managing retransmission
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为了回答您的问题,TCP 会处理损坏帧的重传。以太网仅检测到它。
所以“责任”在TCP身上。请注意,谈论责任是具有误导性的。您可以通过以太网(OSI 第 2 层)使用 UDP(OSI 第 4 层),在这种情况下,处理丢失数据的“责任”在于应用程序,该应用程序可能会选择不重新发送(即没有意义的视频流) 。
在其他数据链路协议上,帧的重新发送可以内置到协议本身中。
从这个意义上说,处理重传更多地是 TCP 协议的一个属性或特征,而不是一种“责任”
To answer your question, TCP handles retransmission of corrupt frames. Ethernet only detects it.
So the “responsibility” is on TCP. Note that speaking of responsibilities is misleading. You can have UDP (OSI layer 4) over Ethernet (OSI layer 2) in which case the “responsibility” for handling missing data is on the application which may choose to NOT resend (I.e. video streaming in which it doesn’t make sense).
On other data link protocols the resending of frames can be built into the protocol itself.
In that sense, handling retransmissions would be more of a property or feature of the TCP protocol rather than a “responsibility”