Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[C#] TCP Server
#1
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.
Reply
#2
Cool Big Grin I've been learning on how to do some networking with C# myself. Good work.
Reply
#3
I WILL take a look when I have more time. Nice job ^^
Reply
#4
Thanks for your comments; much appreciated.

I can't help but feel that my code is sloppy. So if anyone looks over the class, please give me some feedback.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)