简体   繁体   English

使用Lidgren与Mono进行C#网络编程

[英]C# network programming using lidgren with mono

I'm currently writing a small online game using c# XNA and lidgren and I want to use mono + lidgren to write the server-program that is able to run on linux (cheaper hosting solutions). 我目前正在使用C#XNA和lidgren编写小型在线游戏,并且我想使用mono + lidgren编写能够在linux上运行的服务器程序(廉价的主机解决方案)。 Is it possible to use lidgren and mono together? 是否可以同时使用Lidgren和Mono? Should I use a different library or write my own socket solution with .NET functions? 我应该使用其他库还是使用.NET函数编写自己的套接字解​​决方案?

Thanks for the answers 感谢您的回答

Yes, Lidgren only requires System.Net.Sockets to run. 是的,Lidgren只需要System.Net.Sockets即可运行。 MoMa only reports one minor issue; MoMa仅报告了一个小问题; NetworkInterface GetNetworkInterface() has [MonoTodo] set - it seems it currently only works on Linux and Windows (which might be good enough) NetworkInterface GetNetworkInterface()设置为[MonoTodo]-看来它目前仅适用于Linux和Windows(可能足够好)

The distribution doesn't come with prebuilt binaries; 该发行版不包含预构建的二进制文件。 but just load the solution and build it. 但只需加载解决方案并进行构建。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM