udp丢包和恢复udp

2023-09-07 13:30:54 作者:傲娇喵

我正在开发基于 udp/tcp 的 P2P 文件和实时视频流应用程序.该应用程序将使用 c++ 为 Linux 和 Windows 平台开发.

I am working on both udp/tcp based P2P for file and real time video streaming application.the application will be developed for both Linux and windows platform using c++.

我们正在使用 ICE(TCP/UDP 打孔)来实现 P2P.虽然 TCP 确保数据包丢失,但对于 UDP,我需要一种体面的方法来确保必须将数据包传递给其他对等方.

We are using ICE(TCP/UDP hole punching) to implement the P2P. while TCP ensure the packet loss but for UDP I need a decent approach to make sure packet must be delivered to the other peer.

我想知道执行此操作的算法或技术.是否有任何免费的第三方工具/库可供使用.

任何链接和建议将不胜感激?

Any link and suggestion will be appreciated?

推荐答案

您可能会发现这个问题的答案很有帮助:当你需要可靠的 UDP 时你用什么?

You might find the answers to this question helpful: What do you use when you need reliable UDP?