29-07-2009, 11:47 AM
I'm relatively new to C#, and even more new to the construct of networking. I have put together a simplistic server example within C# (which sort of evades the TCPClient and TCPServer classes for more flexibility). I thought that it might come to some use here if someone wanted to start a C# networking project. This example is obviously not limited to a 2D RPG, hence why it's labeled a generic example. I might post my Client example once I 'clean it up' slightly. I should note that this server may not be efficient, or coded to the best of standards. So hopefully someone with more programming knowledge can help it along.
You can use the code however you wish.
EDIT: Link removed, fixing things.
You can use the code however you wish.
EDIT: Link removed, fixing things.