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: Wed, 18 Mar 1998 05:05:09 +0000 -->
<!--X-Message-Id: Pine.LNX.3.96.980317215948.581A&#45;100000#shamen,cyberhighway.net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 19980317111840.55762#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="msg00744.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00746.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00739.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00752.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00745">Author</A>
&nbsp;|&nbsp;<A HREF="#00745">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00745">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>: Tue, 17 Mar 1998 22:04:02 -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 Tue, 17 Mar 1998, Jon Leonard wrote:

&gt; On Tue, Mar 17, 1998 at 10:58:58AM +0000, Niklas Elmqvist wrote:
&gt; &gt; &gt; The question is, what is the packet size (max) that UDP can handle?
&gt; &gt; 
&gt; &gt; A good place to find information about anything that even remotely
&gt; &gt; pertains to networks and the Internet are the RFC docs. A bit technical
&gt; &gt; (but that's how we like them) but usually of good standard. You can find a
&gt; &gt; directory containing ASCII-text versions of all the RFCs at
&gt; &gt; &lt;URL:<A  HREF="http://ftp.sunet.se/pub/Internet-documents/rfc/">http://ftp.sunet.se/pub/Internet-documents/rfc/</A>&gt; (the index is called
&gt; &gt; rfc-index.txt).
&gt; &gt; 
&gt; &gt; RFC 1180 is a TCP/IP tutorial, and a good one at that, but only brushes
&gt; &gt; through UDP. RFC 768 concerns itself solely with UDP, the answer to your
&gt; &gt; question might be found there.
&gt; 
&gt; It's likely more complicated than that.  The maximum size of a UDP packet
&gt; is about the maximum size of an IP datagram (quite large).  Realisticly,
&gt; though, you want largest packet that won't get broken up into fragments.
&gt; 
&gt; The largest non-fragmenting packet (MTU = Maximum Transfer Unit) depends
&gt; on the networks involved.  For Ethernet, it's about 1500 bytes.  Most high
&gt; speed networks have larger maxima, but you could see almost anything.

I'm definately looking for the MTU.  The whole point would be to ensure
that each packet arrived all at once, and was complete by itself.  I
think I can fit them into 512 bytes easily.  If I need to send larger
packets I can always chunk them over the tcp connection.

&gt; 
&gt; A search for "MTU discovery" should probably find something on how some
&gt; TCP implementations figure out what the optimal packet size is.  Anyone
&gt; seriously considering a UDP tranport protocol should write something similar.
&gt; The basic idea is set the "don't fragment" bit, and play with packet size
&gt; until you find out what works.

I was mostly hoping that someone had a good 'working maximum' that they
had used with success.  However, most MUD's would deal wrather poorly
with a lossy protocol, so there may not be much experience with UDP
in the mud community....

&gt; 
&gt; Jon Leonard
&gt; 
&gt; 


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="00752" HREF="msg00752.html">Re: [MUD-Dev]  Transport layer (UDP vs TCP)</A></strong>
<ul compact><li><em>From:</em> Jon Leonard &lt;jleonard#divcom,umop-ap.com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00739" HREF="msg00739.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="msg00744.html">Re: [MUD-Dev] Balancing Addicts -&gt; soft vs. hard enforcement</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00746.html">Re: [MUD-Dev]  SfD: Clientside Caching</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00739.html">Re: [MUD-Dev]  Transport layer (UDP vs TCP)</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00752.html">Re: [MUD-Dev]  Transport layer (UDP vs TCP)</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00745"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00745"><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><A NAME="00735" HREF="msg00735.html">Balancing Addicts</A></strong>, 
Ling <a href="mailto:K.L.Lo-94#student,lboro.ac.uk">K.L.Lo-94#student,lboro.ac.uk</a>, Tue 17 Mar 1998, 14:32 GMT
<LI><strong><A NAME="00733" HREF="msg00733.html">Transport layer (UDP vs TCP)</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Tue 17 Mar 1998, 05:58 GMT
<UL>
<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
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</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>