1998Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Transport layer (UDP vs TCP) -->
<!--X-From-R13: Pra Uerrne <terrneNploreuvtujnl.arg> -->
<!--X-Date: Thu, 19 Mar 1998 00:52:39 +0000 -->
<!--X-Message-Id: Pine.LNX.3.96.980318174433.303B&#45;100000#shamen,cyberhighway.net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 19980318094342.23395#divcom,umop&#45;ap.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  Transport layer (UDP vs TCP)</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>
[&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="msg00757.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00759.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00752.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00763.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00758">Author</A>
&nbsp;|&nbsp;<A HREF="#00758">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00758">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  Transport layer (UDP vs TCP)</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev]  Transport layer (UDP vs TCP)</LI>
<LI><em>From</em>: Ben Greear &lt;<A HREF="mailto:greear#cyberhighway,net">greear#cyberhighway,net</A>&gt;</LI>
<LI><em>Date</em>: Wed, 18 Mar 1998 17:51:35 -0700 (MST)</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Wed, 18 Mar 1998, Jon Leonard wrote:

&gt; &gt; I was mostly hoping that someone had a good 'working maximum' that they
&gt; &gt; had used with success.  However, most MUD's would deal wrather poorly
&gt; &gt; with a lossy protocol, so there may not be much experience with UDP
&gt; &gt; in the mud community....
&gt; 
&gt; In many ways, an easier question.  Most of the networks you need to worry
&gt; about are ethernet or can handle ethernet-sized packets.  So your maximum
&gt; packet size should be 1500 minus a margin for IP headers.  If you can fit
&gt; into 512 bytes, that'd be fine.
&gt; 
&gt; You'll lose more clients due to firewalls that block UDP than you will to
&gt; strange networks.  Be prepared for re-assembled packets, though -- the
&gt; last hop may be a noisy PPP session that fragments, for example.

Well, I plan on having a tcp as well as a udp connection running
simultaneously, so if one won't work, I can just shift the traffic to
the other.  Actually, could shift UDP to TCP, not going to try to
go the other way.

If your packets can be fragmented at the last step (I'm assuming most
players will be using PPP over a modem) then it could become very nasty
as far as reading a complete packet in no?  Does the UDP somehow keep
you from reading half of a packet (the other half of which has been lost
forever?)

For instance, I send a 512 byte UDP packet.  Can the receiver ever just
receive the first 256 bytes or so?  Surely not, as this would make it
basically impossible to code anything without writing another layer on
top of it...

Yeesh, I need thicker books!!

Ben

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>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00778" HREF="msg00778.html">Re: [MUD-Dev]  Transport layer (UDP vs TCP)</A></strong>
<ul compact><li><em>From:</em> "Jon A. Lambert" &lt;jlsysinc#ix,netcom.com&gt;</li></ul>
<li><strong><A NAME="00763" HREF="msg00763.html">Re: [MUD-Dev]  Transport layer (UDP vs TCP)</A></strong>
<ul compact><li><em>From:</em> Niklas Elmqvist &lt;d97elm#dtek,chalmers.se&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00752" HREF="msg00752.html">Re: [MUD-Dev]  Transport layer (UDP vs TCP)</A></STRONG>
<UL><LI><EM>From:</EM> Jon Leonard &lt;jleonard#divcom,umop-ap.com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00757.html">SIMULATING FUTURE HISTORIES: THE NAU SOLAR SYSTEM SIMULATION &amp; MARS SETTLEMENT</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00759.html">Re: [MUD-Dev]	SfD: Clientside Caching</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00752.html">Re: [MUD-Dev]  Transport layer (UDP vs TCP)</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00763.html">Re: [MUD-Dev]  Transport layer (UDP vs TCP)</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00758"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00758"><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>Transport layer (UDP vs TCP)</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00737" HREF="msg00737.html">Transport layer (UDP vs TCP)</A></strong>, 
Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Tue 17 Mar 1998, 18:41 GMT
<UL>
<LI><strong><A NAME="00739" HREF="msg00739.html">Re: [MUD-Dev]  Transport layer (UDP vs TCP)</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,umop-ap.com">jleonard#divcom,umop-ap.com</a>, Tue 17 Mar 1998, 19:22 GMT
<UL>
<LI><strong><A NAME="00745" HREF="msg00745.html">Re: [MUD-Dev]  Transport layer (UDP vs TCP)</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Wed 18 Mar 1998, 05:05 GMT
<UL>
<LI><strong><A NAME="00752" HREF="msg00752.html">Re: [MUD-Dev]  Transport layer (UDP vs TCP)</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,umop-ap.com">jleonard#divcom,umop-ap.com</a>, Wed 18 Mar 1998, 17:48 GMT
<UL>
<LI><strong><A NAME="00758" HREF="msg00758.html">Re: [MUD-Dev]  Transport layer (UDP vs TCP)</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Thu 19 Mar 1998, 00:52 GMT
<UL>
<LI><strong><A NAME="00763" HREF="msg00763.html">Re: [MUD-Dev]  Transport layer (UDP vs TCP)</A></strong>, 
Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Thu 19 Mar 1998, 08:18 GMT
</LI>
<LI><strong><A NAME="00778" HREF="msg00778.html">Re: [MUD-Dev]  Transport layer (UDP vs TCP)</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Fri 20 Mar 1998, 03:06 GMT
<UL>
<LI><strong><A NAME="00779" HREF="msg00779.html">Re: [MUD-Dev]  Transport layer (UDP vs TCP)</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 20 Mar 1998, 04:28 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</LI>
<LI><strong><A NAME="00729" HREF="msg00729.html">SfD: Clientside Caching</A></strong>, 
Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Tue 17 Mar 1998, 01:01 GMT
</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>