如何停止我自己的广播消息?
可能的重复:
如何忽略自己的广播 udp 数据包
我正在尝试通过 UDP 广播发现消息,发现同一子网中的所有其他人。但一旦我也在子网中,我也会收到此消息。 有没有办法停止接收自己生成的消息?
Possible Duplicate:
How to ignore your own broadcast udp packets
I am trying to broadcast a discovery message through UDP that discovers all other people in the same subnet. but as soon as I am also in the subnet, I will then receive this message too.
Is there a way to stop receiving the message that generates by myself?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以忽略您自己广播的消息,但一旦您发送出去,您就永远无法阻止它到达您的手中。
You can ignore the message you broadcast yourself, but you can never stop it from reaching you once you sent it out.