可靠的组播通过本地网络 [英] Reliable Multicast over local network

查看:267
本文介绍了可靠的组播通过本地网络的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用C ++和Qt实现了一个消息传递系统。经过深思熟虑,我已经确定多播或多播类型的技术将最有效地解决我的问题。但我已经了解了UDP的不可靠性,并认为它是不可接受的。



我的要求如下:




  • 邮件将以二进制序列化形式发送。

  • 从网络上的任何给定节点,我必须能够向其他节点发送邮件。


  • 的OpenPGM和NORM作为UDP的替代品。如果任何人有任何一个经验,你能请分享吗?



    我也可以在应用程序层中实现可靠多播,但我不喜欢如果有一个已经实现的库这个。



    我使用C ++和Qt,因此基于.NET或Java的解决方案是不能接受的,除非它们是开源的,我可以将它们移植到C ++。 / p>

    非常感谢。



    EDIT 20120816T1853 MDT: PGM或NORM必须在硬件/ IP级别实现?

    解决方案

    我们已经在UDP上实现了我们自己的可靠的多播协议,称为 RSP ,因为我们需要一些跨平台,当时找不到一个好的解决方案在Linux和Windows之间。 Windows PGM实现断开了离开发送窗口的慢客户端,而我们的实现类似于TCP阻塞了发送方。 Afaik OpenPGM可以配置为做同样的。


    I am implementing a messaging system using C++ and Qt. After much thought, I have determined that multicasting or a multicast-style technique will work best to solve my problem. However, I have learned about UDP's unreliability and believe it to be unacceptable.

    My requirements are as follows:

    • Messages are to be sent in a binary serialized form.
    • From any given node on the network, I must be able to send messages to the other nodes.
    • Message delivery must be insured.

    I have heard of OpenPGM and NORM as alternatives for UDP. If anyone has experience with either of these, could you please share?

    I am also open to the possibility of implementing "reliable" multicast by myself, in the application layer, but I would prefer not to if there is a library that already implements this.

    I am using C++ and Qt, therefore .NET or Java-based solutions are not acceptable unless they are open-source and I may port them to C++.

    Thank you very much.

    EDIT 20120816T1853 MDT: An additional question: would either PGM or NORM have to be implemented at the hardware/IP level? Or can they be overlayed on top of existing protocols?

    解决方案

    We have implemented our own reliable multicast protocol over UDP called RSP, since we needed something cross-platform and at the time couldn't find a good solution between Linux and Windows. The Windows PGM implementation disconnects slow clients which leave the send window, whereas our implementation throttles the sender similar to TCP. Afaik OpenPGM can be configured to do the same.

    这篇关于可靠的组播通过本地网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆