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

765 Views Asked by At

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

There are 1 best solutions below

1
On

Reliable?

Well, reliable is a word that 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.