从电线发送到无线时,UDP多播不起作用
我通过C ++实现了UDP多播,这很好。
但是奇怪的是,我在笔记本电脑(无线)和PC(有线)之间进行测试问题。 使用同一网络,笔记本电脑通过路由器通过Wi-Fi连接,并且PC通过有线LAN连接。
由于我的测试,如果我将多播数据包从PC发送到笔记本电脑,则不会正确接收它。 相反,当将多播数据包从笔记本电脑发送到PC时,收到了很好的收到。
代码使用相同的代码,因此似乎没有编码问题。
为什么网络像这样工作?
I implemented UDP Multicast through C++, which works very well.
but Strangely, I have a problem testing it between my laptop (wireless) and my PC (wired).
using the same network, the laptop is connected via Wi-Fi through the router, and the PC is connected via a wired LAN.
as a result of my test, if I send Multicast packets from PC to laptop, it will not be received properly.
Conversely, when a Multicast packet is send from laptop to PC, it is received well.
code used the same code, so there seems to be no coding problem.
Why is the network working like this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论