局域网内UDP组播的可靠性如何?
假设所有接收器都连接到同一个路由器,距离为一跳。在此设置中,预计丢弃/丢失的 UDP 多播数据包百分比是多少?
Let's say that all receivers are connected to the same router, which is one hop away. What percent of UDP multicast packets should I expect to be dropped/lost in this setup?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
除了使用无线电等易受干扰的介质之外,大多数数据包丢失是由于缓冲区溢出而不是网络质量造成的。
因此,要回答这个问题,您应该预计丢包率为 0%。您将看到的内容完全取决于应用程序负载,导致传入套接字缓冲区无法及时读取。
Most packets are lost due to buffer overflows not due to the quality of the network, aside of using interference prone mediums such as radio.
So to answer, you should expect 0% dropped packets. What you will see is entirely dependent upon application load causing the incoming socket buffers to not be timely read.