One option is to just do a search for a socket server on the net.  There
are literally hundreds, if not thousands of very basic socket servers
out there in any number of languages.  Just recently, I did something
very similar with C# as an experiment and a personal intro to C# and the
.NET libraries.  I never did get to be "fully" functional, but it
possible, and even starting from scratch, it isn't all that bad (just
for perspective on me and where I am in my coding experience, I have a
BS degree in Computer Science, but have never looked at socket server
code outside of the ROM or other MUD server contexts).  What you could
probably do is just find a free socket server snippet/example on the
web, tweak it out, and use that.

Scott

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jed Yang
Sent: Tuesday, July 29, 2003 6:14 AM
To: [email protected]
Subject: Copyright/credits question.

Hello all,

I am planning to write a server that handle telnet connections.
I am not sure if it is going to evolve into a mud, or simply a chat or
boards.
Therefore it is of course not a `ROM' derivative.
Yet I am most used to the ROM mud, (since I programmed for a ROM mud and
thus subscribing to this list for quite a while), and I am quite bad at
socket programming (or whatever it is called), so I might need to
`borrow' the ROM connection code.
Only the basic part will be borrowed:
 + main
   o init_socket and its necessary child
   o game_loop_unix (only the connection part extracted)
     - init_descriptor
       = write_to_buffer
     - read_from_buffer
     - read_from_descriptor
 + DESCRIPTOR_DATA struct minimal need
 + and any other that I missed but is essential (please enlighten me,
thanks)
After reviewing the ROM/Merc/DIKU licenses, it seems that I will need to
put the original authors name on my logon screen, even though if I am
only using the connection part, not even using command intepretor,
pulse, CHARACTER_DATA, etc.

So I have a question, is there a way around it (I do not mean to sneak
holes past the licenses, but other than writing my own code to handle
sockets and descriptors, is there any way to do it? Or could someone
point to a minimal socket code (for instance, just echoing what you
typed in and responding to only `quit'). If possible, I actually want
the code to work for Win32, so I can test all non-connection related
functions on my laptop and host the final project back on an Unix
machine. I am actually not sure at all how hard it is to write such a
code, i.e. if it is possible for one of you to write it in a few minutes
or will it take hours? Any response will be appreciated. Thank you.

Sincerely,

Jed Yang (Htam)

-- 
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom


Reply via email to