1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: mud client development systems -->
<!--X-From-R13: Quevf Uenl <ptNnzv&#45;pt.UenlEntr.Sqzbagba.OP.QO> -->
<!--X-Date: Sat, 12 Dec 1998 23:12:55 &#45;0800 -->
<!--X-Message-Id: 199812130518.WAA18372@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: mud client development systems</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">
</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>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00957.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00959.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00957.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00915.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00958">Author</A>
&nbsp;|&nbsp;<A HREF="#00958">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00958">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: mud client development systems</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: mud client development systems</LI>
<LI><em>From</em>: Chris Gray &lt;<A HREF="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</A>&gt;</LI>
<LI><em>Date</em>: Sat, 12 Dec 1998 22:18:19 -0700</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>
[Sunny Gulati:]

 &gt;option 2.  Client connects to mud at specific socket number. (has to be
 &gt;specific, because even right now we're tunneling a hole to our mud
 &gt;through a firewall on a specific port number).  How then do I associate
 &gt;the 2nd socket connection with the original player object?

Remember that each client has their own socket anyway (unless you are
getting complicated and using multiplexor processes - I don't know
whether MUDOS does that or not). Which of two connections sockets the
client originally connects on doesn't matter for that. You only need to
keep track of which one it was inside the server's client structure,
so you'll know whether it is a telnet client or a custom client. That's
what I did in my AmigaMUD, and it wasn't a problem. Essentially, the
main 'select' of the server is waiting for activity from any client
socket, AND from either of the two connection sockets. It tells you
which sockets are active when it returns. If it says the activity is
on the telnet connection socket, then you know you have a new telnet
client. If it tells you the activity is on the custom client connection
socket, then you know you have a new custom client connection.

The socket stuff I've contributed to the DevMUD project does essentially
that, although it only sets initial defaults for telnet flags, rather
than setting a whole new client type, although the structure is there
to do that (deliberately so, since that's what I want). Jon Leonard
has the full archive of a runnable MUD system with that in it, at

    <A  HREF="http://frost.slimy.com/devmud/prototypes/runnable/devmud-toy">http://frost.slimy.com/devmud/prototypes/runnable/devmud-toy</A>

--
Don't design inefficiency in - it'll happen in the implementation. - me

Chris Gray     cg#ami-cg,GraySage.Edmonton.AB.CA


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00957.html">[MUD-Dev] Re: mud client development systems</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00959.html">[MUD-Dev] Re: mud client development systems</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00957.html">[MUD-Dev] Re: mud client development systems</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00915.html">[MUD-Dev] Re: Introduction</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00958"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00958"><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: mud client development systems</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00954" HREF="msg00954.html">[MUD-Dev] Re: mud client development systems</A></strong>, 
Per Vognsen <a href="mailto:vognsen#post10,tele.dk">vognsen#post10,tele.dk</a>, Sat 12 Dec 1998, 18:58 GMT
<UL>
<LI><strong><A NAME="00956" HREF="msg00956.html">[MUD-Dev] Re: mud client development systems</A></strong>, 
Sunny Gulati <a href="mailto:sunnywiz#radiks,net">sunnywiz#radiks,net</a>, Sat 12 Dec 1998, 20:41 GMT
<UL>
<LI><strong><A NAME="00959" HREF="msg00959.html">[MUD-Dev] Re: mud client development systems</A></strong>, 
Per Vognsen <a href="mailto:vognsen#post10,tele.dk">vognsen#post10,tele.dk</a>, Sun 13 Dec 1998, 16:25 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
<LI><strong><A NAME="00957" HREF="msg00957.html">[MUD-Dev] Re: mud client development systems</A></strong>, 
Scatter <a href="mailto:scatter#thevortex,com">scatter#thevortex,com</a>, Sat 12 Dec 1998, 23:36 GMT
</LI>
<LI><strong><A NAME="00958" HREF="msg00958.html">[MUD-Dev] Re: mud client development systems</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 13 Dec 1998, 07:12 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00915" HREF="msg00915.html">[MUD-Dev] Re: Introduction</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 07 Dec 1998, 04:43 GMT
<UL>
<LI><strong><A NAME="00929" HREF="msg00929.html">[MUD-Dev] Re: Introduction</A></strong>, 
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Mon 07 Dec 1998, 21:14 GMT
</LI>
</UL>
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00931" HREF="msg00931.html">[MUD-Dev] Re: Introduction</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Mon 07 Dec 1998, 22:03 GMT
<UL>
<LI><strong><A NAME="00943" HREF="msg00943.html">[MUD-Dev] Re: Introduction</A></strong>, 
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Wed 09 Dec 1998, 07:15 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>