Mirage Source

Free ORPG making software.
It is currently Thu Mar 28, 2024 3:38 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [C#] TCP Server
PostPosted: Wed Jul 29, 2009 11:47 am 
Offline
Newbie
User avatar

Joined: Sun Feb 11, 2007 4:08 am
Posts: 10
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.

_________________
Quote:
You never finish a program, you just stop working on it.


Last edited by 4ngel on Fri Aug 14, 2009 6:12 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: [C#] TCP Server
PostPosted: Thu Jul 30, 2009 7:03 am 
Offline
Knowledgeable

Joined: Sun Jul 29, 2007 12:23 am
Posts: 199
Cool :D I've been learning on how to do some networking with C# myself. Good work.


Top
 Profile  
 
 Post subject: Re: [C#] TCP Server
PostPosted: Thu Jul 30, 2009 5:02 pm 
Offline
Pro
User avatar

Joined: Mon May 29, 2006 3:26 pm
Posts: 493
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com
I WILL take a look when I have more time. Nice job ^^

_________________
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:
www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:
I love you and your computer.Marry me.


Top
 Profile  
 
 Post subject: Re: [C#] TCP Server
PostPosted: Fri Jul 31, 2009 12:11 am 
Offline
Newbie
User avatar

Joined: Sun Feb 11, 2007 4:08 am
Posts: 10
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.

_________________
Quote:
You never finish a program, you just stop working on it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group