Jump to content
  • Advertisement
Sign in to follow this  
MrAsia

C# and Linux Server Hosting

This topic is 2626 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

If I program my game in C# with multi player, will users be able to host the server software on Linux servers?

Think L4D2/Source games, I am pretty sure that people host those game servers on Linux rather than paying for a microsoft license.

-Confused

Thanks!

Share this post


Link to post
Share on other sites
Advertisement

If I program my game in C# with multi player, will users be able to host the server software on Linux servers?

Think L4D2/Source games, I am pretty sure that people host those game servers on Linux rather than paying for a microsoft license.

-Confused

Thanks!


Ofcourse you can, just remember to not use any windows only libraries for the server and read this:
http://www.mono-project.com/Guidelines:Application_Portability

Share this post


Link to post
Share on other sites

If I program my game in C# with multi player, will users be able to host the server software on Linux servers?

Think L4D2/Source games, I am pretty sure that people host those game servers on Linux rather than paying for a microsoft license.

-Confused

Thanks!


In theory, yes.
The Mono platform for Linux is a binary compatible implementation of Microsofts .NET platform.

In practice though, it is unlikely that a huge codebase written on the Windows platform will run off the bat on a Linux box.
A couple of years ago, even small projects wouldn't run on Mono without at least some minor changes to the source. But, things may have changed since then.

You can check this page to see what parts of the .NET platform Mono currently does not support.

edit: Beaten by SimonForsman

Share this post


Link to post
Share on other sites
To clarify/add on to the two above, you do not want any .dll files generated because that renders it platform dependent (Windows). Also, theres always Wine (which I use for win programs) but as a developer I recommend avoiding such situations as that because very few know what to do with Wine.

Best of luck!

Share this post


Link to post
Share on other sites

To clarify/add on to the two above, you do not want any .dll files generated because that renders it platform dependent (Windows). Also, theres always Wine (which I use for win programs) but as a developer I recommend avoiding such situations as that because very few know what to do with Wine.

Best of luck!


Generating DLLs on mono/linux are just fine, they just aren't called dlls.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!