可靠的udp广播库? [英] Reliable udp broadcast libraries?
问题描述
是否有任何库将可靠性层置于UDP广播之上?
我需要尽快将大量数据广播到大量机器上,通常看来这样的问题一定已经解决了很多遍了,但除了Spread工具包(具有一定的病毒性许可)外,我什么都找不到(您必须在宣传最终产品的所有材料中都提及它,但我不确定我们的客户是否愿意这样做) 。
I need to broadcast large amounts of data to a large number of machines as quickly as possible, and generally it seems like such a problem must have already been solved many times over, but I wasn't able to find anything except for the Spread toolkit, which has a somewhat viral license (you have to mention it in all materials advertising the end product, which I'm not sure our customer will be willing to do).
我本人已经打算写这样的东西了(因为这样做非常有趣!),但决定先问一下。
I was already going to write such a thing myself (because it would be extremely fun to do!) but decided to ask first.
我也看过UDT(http://udt.sourceforge.net),但它似乎没有提供广播操作。
I looked also at UDT (http://udt.sourceforge.net) but it does not seem to provide a broadcast operation.
PS我正在看的东西像库一样轻巧-没有基础结构更改。
PS I'm looking at something as lightweight as a library - no infrastructure changes.
推荐答案
UDP多播如何?看看 PGM协议,该协议有几种商业和开源实现。
How about UDP multicast? Have a look at the PGM protocol for which there are several commercial and open source implementations.
免责声明:我是 OpenPGM ,该协议的开源实现。
Disclaimer: I'm the author of OpenPGM, an open source implementation of said protocol.
这篇关于可靠的udp广播库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!