Author Topic: Tnet on Linux  (Read 3201 times)

undeadant

  • Guest
Tnet on Linux
« on: February 27, 2013, 11:45:21 AM »
Hi,

Any instructions on how one might set up Tnet server on Linux?

Thanks,

klept

  • Guest
Re: Tnet on Linux
« Reply #1 on: February 27, 2013, 03:58:24 PM »
Hey! I have an ubuntu server (So I tested it and it works this way), install mono in your linux computer (something like apt-get mono-runtime in ubuntu. I do not know exactly the package name)

after that build your server with monodevelop and upload it to your server, do not worry about the .exe extension, the executable is a native mono executable, it will work on linux. Then to run it write "mono yourserver.exe" and it will run just fine..

I read that linux does not support async sockets etc... would be nice if Aren could tell us if linux is full supported !
« Last Edit: February 27, 2013, 04:00:49 PM by klept »

tehshawn

  • Guest
Re: Tnet on Linux
« Reply #2 on: February 27, 2013, 04:50:55 PM »
I believe mono for Android is missing support for the newer form of asynchronous socket operations "sendAsync/receiveAsync" that was introduced in .NET 3.5, but it doesn't appear that TNet uses that form anyway. I compiled the server on Mac OSX and Windows. Both compiled fine, that same executable was produced by MonoDevelop on mac ran fine in Linux. I've also tested it on Android, iOS, and Windows all are working great.