适用于c ++和mono的轻量级RUDP网络库有哪些合适的选项? [英] What are the suitable options for lightweight RUDP network library for c++ and mono?

查看:177
本文介绍了适用于c ++和mono的轻量级RUDP网络库有哪些合适的选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很长时间以来,我正在为我们的MMO游戏创建网络库的原型,该游戏的后端是c ++,客户端使用Unity3d.

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.

  • 我使用过ZeroMQ,它是一个非常强大且强大的库,但是它没有.Net 3.5的c#官方端口,因此我无法在客户端中正确地使用它,并且它也没有RUDP支持.
  • 我已经检查了ENet,它基本上是一个RUDP消息传递库,但是找不到Mono的任何正常工作端口.
  • 我检查了Hazel Networking库,该库已开发用于Unity,但没有本机c ++端口.
  • 我检查了很多其他消息传递库,它们都不支持RUDP或没有两种语言的库.

有人知道满足我要求的图书馆吗?

Does anybody know about a library which fulfills my requirements?

推荐答案

可靠吗?

好,可靠是一个单词,福音化解释说,从不期望从传输类本身获得许可,而是通过特定于问题域的智能使用来临时构建它任何信令/消息传递框架提供的工具.

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.

如果我不知所措,并且多年使用ZeroMQ v2.1.1弄脏了我的手-正是由于异构不可控制的代码执行环境中的交叉兼容性问题,我将研究哪种POSIX兼容nanomsg可以将表(基于C,C ++和.NET绑定就绪)和非常轻巧的工具带到桌面.

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.

这篇关于适用于c ++和mono的轻量级RUDP网络库有哪些合适的选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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