What are the suitable options for lightweight RUDP network library for c++ and mono? [closed]

心不动则不痛 提交于 2019-12-10 10:58:50

问题


It's a long time that I'm prototyping the network libraries for our MMO game which it's back-end is in c++ and the client uses Unity3d.

  • I've used ZeroMQ, It's a very strong and awesome library but it doesn't have an official port for c# with .Net 3.5, So I can not use it with unity properly in the client and it also does not have the RUDP support.
  • I've checked ENet, It's basically an RUDP messaging library, but I couldn't find any proper working port for Mono.
  • I checked Hazel Networking library which has been developed to be used with Unity, but it doesn't have a native c++ port.
  • I've checked lot's of other messaging libraries, all of them didn't support RUDP or they didn't have the library in both languages.

Does anybody know about a library which fulfills my requirements?


回答1:


Reliable?

Well, reliable is a word that distributed-computing evangelisation from Pieter HINTJENS explains not to ever expect granted from a transport-class per-se, but rather get it built ad-hoc, by a problem-domain specific smart using of the tools provided by any signalling / messaging framework.

Integration issues?

If I were in your shoes, and having for years my hands dirty with ZeroMQ v2.1.1 -- right due to cross-compatibility issues in heterogeneous uncontrollable code-execution environment -- I would investigate what POSIX-compliant nanomsg can bring to the table ( C-based, C++ & .NET bindings ready ) and indeed a very lightweight tool.



来源:https://stackoverflow.com/questions/46346617/what-are-the-suitable-options-for-lightweight-rudp-network-library-for-c-and-m

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!