Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在同一个端口上监听 UDP 单播和多播消息 - 只允许打开 1 个套接字。有什么办法吗?我希望如此,因为像wireshark这样的捕获工具可以做到这一点。我可以为单播和多播分别创建监听服务器,但需要立即监听这些数据包。