Please check out Act of War !

Member Discussions

terms



[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]


1. Writing C# Telnet Protocol Mon Apr 13, 2009 [10:16 AM]
Miruim
Email not supplied
member since: Mar 30, 2009
Reply
I want to start a new MUD from scratch and I want to do it
in C#.

I code the whole game, but I'm a complete newbie concerning
networking.

I need to learn how to code something that will handle many
connections through a telnet protocol using C#. What's the
best way to start? Any hints, tips or examples on how to do
that? Is there any MUD at all written in C#?

Thanks.


2. RE: Writing C# Telnet Protocol Mon Apr 13, 2009 [11:43 AM]
Drey
Email not supplied
member since: Mar 19, 2000
In Reply To
Reply
As an aside and for what it's worth, few MUD servers actually implement the telnet protocol nor do most MUD clients.

Anyhow, I'm not aware of any active C# projects and I didn't turn up anything in the listings that Erwin and Tyche each maintain.

Your best bet may be to grab SocketMUD source code (C, C++, and Java) to see how the main MUD loop is handled in one of those languages and then adapt it to C#. In that regards, the Java source will probably be closest to C# since C# borrowed heavily from Java for code style before branching away from it.

SocketMUD can be found at http://www.socketmud.dk/.


3. RE: Writing C# Telnet Protocol Mon Apr 13, 2009 [11:11 PM]
Drey
Email not supplied
member since: Mar 19, 2000
In Reply To
Reply


4. RE: Writing C# Telnet Protocol Tue Apr 14, 2009 [12:30 AM]
Tyche
Email not supplied
member since: Apr 4, 2000
In Reply To
Reply
Is there any MUD at all written in C#?

A few years ago I uncovered six of them. You can download copies of them here. Some of them are probably hosted on sourceforge and have been updated. Sourcforge is also probably a good place to search for newer ones.
The Sourcery - http://sourcery.dyndns.org
TeensyMud - http://teensymud.kicks-ass.org
"A man can receive nothing, except it be given him from heaven."




[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]