1999Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: RE: [MUD&#45;Dev] Mud hosting services -->
<!--X-From-R13: "Wna [npvagbfu" <vznaNvfflfgrzf.pb.am> -->
<!--X-Date: Fri, 19 Nov 1999 10:27:08 &#45;0800 -->
<!--X-Message-Id: 000001bf32a8$8ddc9000$0201a8c0@granite -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: E11oZtq&#45;0000bh&#45;00#under,eng.cp.net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, RE: [MUD-Dev] Mud hosting services</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:iman#issystems,co.nz">
</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="msg00394.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00397.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00383.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00410.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00400">Author</A>
&nbsp;|&nbsp;<A HREF="#00400">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00400">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>RE: [MUD-Dev] Mud hosting services</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: &lt;<A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A>&gt;</LI>
<LI><em>Subject</em>: RE: [MUD-Dev] Mud hosting services </LI>
<LI><em>From</em>: "Ian Macintosh" &lt;<A HREF="mailto:iman#issystems,co.nz">iman#issystems,co.nz</A>&gt;</LI>
<LI><em>Date</em>: Sat, 20 Nov 1999 05:10:09 +1300</LI>
<LI><em>Importance</em>: Normal</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#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>
    &gt; J C Lawrence wrote:
    &gt; Sent: Friday, 19 November 1999 11:20
    &gt;
    &gt; There's been some discussion on the list previously of
    &gt; establishing
    &gt; fault tolerant protocols for server/client
    &gt; communications where both
    &gt; sides specifically knew what data they had to have at
    &gt; any point (or
    &gt; send thru and have confirmed receipt), and what they
    &gt; could continue
    &gt; acceptably without.
    &gt;
    &gt; The above however raises another possibility: The
    &gt; transmitter (can
    &gt; be client or server) monitors bandwidth conditions to
    &gt; the receiver,
    &gt; and tailors both its frame rate and the data content of
    &gt; the streams
    &gt; to suit.  Thus, transposing this into a video stream analogy,
    &gt; players on fast connections would get get high frame
    &gt; rates, players
    &gt; on slow connections would get lower frame rates, and,
    &gt; and this is
    &gt; the clever bit, everybody would always receive all the
    &gt; data their
    &gt; end needed for logical correctness without that data
    &gt; (often) having
    &gt; to compete for bandwidth with other lower priority data
    &gt; streams..

Sadly, the only system that supports that currently is Microsoft's
DirectX (to my knowledge).  It is UDP based, and you can check your
outbound buffer size, client bandwidth capabilities, send 'urgent
front of queue' messages, unimportant datagrams, important sequenced
or unsequenced, etc, etc.  VERY good implementation.  The sad thing is
both client and server must be a Win95/98 system at the moment, or
Win2000 when it hits release date.

But if you're looking for a good protocol to emulate, this would be
it.  I wrote a similar thing about 3 years ago for Delphi, also based
on UDP, but nowhere near as advanced.  Basically, I just wanted to mix
reliable and unreliable, and also 'profile' the connection stats a
bit.  TCP is not very well designed when it comes to lost packets I
think.  It has a tendancy to stall when that happens, and I tried to
overcome this by using the principle that if an acknowledgment for a
reliable packet hadn't got back to the sender by X time, just whack it
out again.  That's very TCP like, except I kept track of the 90%
failure rate timing, and anything that exceeded this time was assumed
to have failed.  I was at that time using an ISP who had a high packet
loss connection (via satelite from USA to New Zealand).  It was a bit
'unfriendly' to the net as I was sometimes re-sending too often, but
it tended to settle down into a stable condition after about 3 minutes
or so.  Again, the big problem with this was platform availability.

The simple way to do it for cross-platform availability would be to
use two sockets.  One TCP, one UDP.  Send stuff you can afford to
loose out via the UDP port, and important stuff via TCP.  Very simple,
but could improve your system performance quite a bit.  You could
probably glean an idea of the recipients bandwidth by seeing how long
it took to ack data back to you, but that would be a bit kludgy.

What I try to do with my designs is this.  I assume that someday, I
just possibly could have such a lovely bit of technology available,
and design my i/o stream object with a host of fancy capability
methods exposed.  Then I just take all that data, and shove it out via
a normal old TCP connection.  However, if such tech becomes available,
I just tune my object up a tad, and I get an immediate benefit without
having to restructure my whole system to make use of it.

Of course, hindsight is the only 20/20 vision I've ever had :-)   So I
sometimes miss seeing where I should be clever, and sometimes I get
clever where it's actually just making life complicated for me.

Regards,

Ian.




_______________________________________________
MUD-Dev maillist  -  MUD-Dev#kanga,nu
<A  HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00419" HREF="msg00419.html">Re: [MUD-Dev] Mud hosting services</A></strong>
<ul compact><li><em>From:</em> J C Lawrence &lt;claw#cp,net&gt;</li></ul>
<li><strong><A NAME="00410" HREF="msg00410.html">Re: [MUD-Dev] Mud hosting services</A></strong>
<ul compact><li><em>From:</em> Mik Clarke &lt;mikclrk#attglobal,net&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00383" HREF="msg00383.html">Re: [MUD-Dev] Mud hosting services</A></STRONG>
<UL><LI><EM>From:</EM> J C Lawrence &lt;claw#cp,net&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00394.html">[MUD-Dev] about MOO</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00397.html">Re: [MUD-Dev] Admins as Mortals</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00383.html">Re: [MUD-Dev] Mud hosting services</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00410.html">Re: [MUD-Dev] Mud hosting services</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00400"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00400"><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>Re: [MUD-Dev] Neverwinter Nights</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00211" HREF="msg00211.html">Re: [MUD-Dev] Neverwinter Nights</A></strong>, 
Dundee <a href="mailto:SkeptAck#antisocial,com">SkeptAck#antisocial,com</a>, Thu 11 Nov 1999, 19:02 GMT
</LI>
<LI><strong><A NAME="00269" HREF="msg00269.html">[MUD-Dev] Mud hosting services</A></strong>, 
Dundee <a href="mailto:SkeptAck#antisocial,com">SkeptAck#antisocial,com</a>, Tue 16 Nov 1999, 19:43 GMT
<UL>
<LI><strong><A NAME="00273" HREF="msg00273.html">Re: [MUD-Dev] Mud hosting services</A></strong>, 
Mik Clarke <a href="mailto:mikclrk#attglobal,net">mikclrk#attglobal,net</a>, Tue 16 Nov 1999, 21:19 GMT
<UL>
<LI><strong><A NAME="00383" HREF="msg00383.html">Re: [MUD-Dev] Mud hosting services</A></strong>, 
J C Lawrence <a href="mailto:claw#cp,net">claw#cp,net</a>, Thu 18 Nov 1999, 22:19 GMT
<UL>
<LI><strong><A NAME="00400" HREF="msg00400.html">RE: [MUD-Dev] Mud hosting services</A></strong>, 
Ian Macintosh <a href="mailto:iman#issystems,co.nz">iman#issystems,co.nz</a>, Fri 19 Nov 1999, 18:27 GMT
<UL>
<LI><strong><A NAME="00410" HREF="msg00410.html">Re: [MUD-Dev] Mud hosting services</A></strong>, 
Mik Clarke <a href="mailto:mikclrk#attglobal,net">mikclrk#attglobal,net</a>, Fri 19 Nov 1999, 21:34 GMT
</LI>
<LI><strong><A NAME="00419" HREF="msg00419.html">Re: [MUD-Dev] Mud hosting services</A></strong>, 
J C Lawrence <a href="mailto:claw#cp,net">claw#cp,net</a>, Sat 20 Nov 1999, 01:28 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00272" HREF="msg00272.html">Re: [MUD-Dev] Mud hosting services</A></strong>, 
AR Schleicher <a href="mailto:ars#iag,net">ars#iag,net</a>, Tue 16 Nov 1999, 21:19 GMT
<UL>
<LI><strong><A NAME="00274" HREF="msg00274.html">Re: [MUD-Dev] Mud hosting services</A></strong>, 
Dundee <a href="mailto:SkeptAck#antisocial,com">SkeptAck#antisocial,com</a>, Tue 16 Nov 1999, 22:31 GMT
</LI>
</UL>
</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>