<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD-Dev] Re: Finer points of Telnet programming ... -->
<!--X-From-R13: Pra Uerrne <terrneNploreuvtujnl.arg> -->
<!--X-Date: Mon, 24 Aug 1998 22:25:21 -0700 -->
<!--X-Message-Id: Pine.LNX.3.96.980824220856.27810A-100000#shamen,cyberhighway.net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 001f01bdcf33$689ddda0$15b8989e@uni-corn -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: Finer points of Telnet programming ...</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:greear#cyberhighway,net">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">
<font size="+4" color="#804040">
<strong><em>MUD-Dev<br>mailing list archive</em></strong>
</font>
<br>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
Date:
[ <a href="msg00837.html">Previous</a>
| <a href="msg00839.html">Next</a>
]
Thread:
[ <a href="msg00832.html">Previous</a>
| <a href="msg00836.html">Next</a>
]
Index:
[ <A HREF="author.html#00838">Author</A>
| <A HREF="#00838">Date</A>
| <A HREF="thread.html#00838">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: Finer points of Telnet programming ...</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] Re: Finer points of Telnet programming ...</LI>
<LI><em>From</em>: Ben Greear <<A HREF="mailto:greear#cyberhighway,net">greear#cyberhighway,net</A>></LI>
<LI><em>Date</em>: Mon, 24 Aug 1998 22:21:49 -0700 (MST)</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Mon, 24 Aug 1998, Greg Munt wrote:
>
> -----Original Message-----
> From: Ben Greear <greear#cyberhighway,net>
> To: mud-dev#kanga,nu <mud-dev#kanga,nu>
> Date: Sunday, August 23, 1998 10:31 PM
> Subject: [MUD-Dev] Re: Finer points of Telnet programming ...
>
> >It doesn't have to be any more complex than reading bytes
> >from a socket, and writing others back to the socket. It
> >has little to do with telnet itself. I would suggest downloading
> >some mud code, circle, diku, or whatever and start looking
> >at the select, bind, socket, gethostbyname, and related system
> >calls.
>
>
> I heartily disagree that maintaining connections with telnet clients 'has
> little to do with telnet itself'. Just because most (an assumed 'most',
> admittedly) stock muds support no more than TELOPT_ECHO, this doesn't mean
> that is what *should* be done. If you are going to write from scratch, you
> may as well do it right! (What happens when an old client, which doesnt
> support line mode, tries to connect?)
I guess what I meant was that you didn't have to do anything specific
to telnet to handle a connection, but of course you can if you want.
I would suggest getting *something* working, and then add to that.
I have always thought of telnet, as a client, a dying thing. Those who
use it, will always use it...but very few new users adopt it. Also,
I have a very limited concept of the actual telnet-protocol, and I'm
constantly amazed that it can handle something as primitive as my
server (nothing but plain text and newlines....).
However, I don't claim to be right, or even close on this, so by all
means, implemente the rest of the protocol if you wish!
>
> Also, one thing that has always confused me about ScryMUD: why reimplement
> DIKU from scratch? I can think of no good reason for it.
I was young(er) and dumb(er) than I am now when I started. When I finally
realized how to code well, I had already invested 2 years in it...so I
felt as though I should perservere and 'finish' it up. If I had spent
three years figuring out how circle code worked, I would probably be at
least as far along as I am now in understanding the code, but I would not
have the pride and ownership that keeps me going...
For my next project, I think I'll re-write MERC :)
>
> On the subject of socket programming, I found the entries in the Linux
> 'info' documentation an excellent source, with many examples.
>
>
> --
> MUD-Dev: Advancing an unrealised future.
>
Ben Greear (greear#cyberhighway,net) <A HREF="http://www.primenet.com/~greear">http://www.primenet.com/~greear</A>
Author of ScryMUD: mud.primenet.com 4444
<A HREF="http://www.primenet.com/~greear/ScryMUD/scry.html">http://www.primenet.com/~greear/ScryMUD/scry.html</A>
</PRE>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00832" HREF="msg00832.html">[MUD-Dev] Re: Finer points of Telnet programming ...</A></STRONG>
<UL><LI><EM>From:</EM> "Greg Munt" <greg#uni-corn,demon.co.uk></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00837.html">[MUD-Dev] Re: Finer points of Telnet programming ...</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00839.html">[MUD-Dev] Re: Modular MUD [Was:Finer points of Telnet programming ...]</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00832.html">[MUD-Dev] Re: Finer points of Telnet programming ...</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00836.html">[MUD-Dev] Re: Finer points of Telnet programming ...</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00838"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00838"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>[MUD-Dev] Re: Finer points of Telnet programming ...</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00834" HREF="msg00834.html">[MUD-Dev] Re: Finer points of Telnet programming ...</A></strong>,
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Mon 24 Aug 1998, 21:23 GMT
</LI>
<LI><strong><A NAME="00827" HREF="msg00827.html">[MUD-Dev] Re: Finer points of Telnet programming ...</A></strong>,
Greg Munt <a href="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</a>, Sun 23 Aug 1998, 18:42 GMT
</LI>
<LI><strong><A NAME="00831" HREF="msg00831.html">[MUD-Dev] Re: Finer points of Telnet programming ...</A></strong>,
quzah <a href="mailto:quzah#geocities,com">quzah#geocities,com</a>, Mon 24 Aug 1998, 05:56 GMT
</LI>
<LI><strong><A NAME="00832" HREF="msg00832.html">[MUD-Dev] Re: Finer points of Telnet programming ...</A></strong>,
Greg Munt <a href="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</a>, Mon 24 Aug 1998, 07:40 GMT
<UL>
<LI><strong><A NAME="00838" HREF="msg00838.html">[MUD-Dev] Re: Finer points of Telnet programming ...</A></strong>,
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Tue 25 Aug 1998, 05:25 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00836" HREF="msg00836.html">[MUD-Dev] Re: Finer points of Telnet programming ...</A></strong>,
quzah <a href="mailto:quzah#geocities,com">quzah#geocities,com</a>, Tue 25 Aug 1998, 00:37 GMT
<UL>
<LI><strong><A NAME="00837" HREF="msg00837.html">[MUD-Dev] Re: Finer points of Telnet programming ...</A></strong>,
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Tue 25 Aug 1998, 02:10 GMT
</LI>
</UL>
</LI>
</ul>
</LI>
<LI><strong><A NAME="00820" HREF="msg00820.html">[MUD-Dev] Finer points of Telnet programming ...</A></strong>,
Jynx (Wyrm / Tygr / Myth) Ryn <a href="mailto:jynx_ryn#mindless,com">jynx_ryn#mindless,com</a>, Sun 23 Aug 1998, 07:30 GMT
<UL>
<LI><strong><A NAME="00822" HREF="msg00822.html">[MUD-Dev] Re: Finer points of Telnet programming ...</A></strong>,
Marc Hernandez <a href="mailto:marc#jb,com">marc#jb,com</a>, Sun 23 Aug 1998, 08:06 GMT
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>
</ul>
<hr>
<center>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
</center>
<hr>
</body>
</html>