<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD-Dev] Transport layer (UDP vs TCP) -->
<!--X-From-R13: Xba Zrbaneq <wyrbaneqNqvipbz.hzbc-nc.pbz> -->
<!--X-Date: Tue, 17 Mar 1998 19:22:28 +0000 -->
<!--X-Message-Id: 19980317111840.55762#divcom,umop-ap.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.LNX.3.96.980316230342.719A-100000#shamen,cyberhighway.net -->
<!--X-Reference: Pine.SOL.3.96.980317193359.8501A-100000#licia,dtek.chalmers.se -->
<!--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:jleonard#divcom,umop-ap.com">
</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="msg00738.html">Previous</a>
| <a href="msg00741.html">Next</a>
]
Thread:
[ <a href="msg00737.html">Previous</a>
| <a href="msg00745.html">Next</a>
]
Index:
[ <A HREF="author.html#00739">Author</A>
| <A HREF="#00739">Date</A>
| <A HREF="thread.html#00739">Thread</A>
]
<!--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>: Jon Leonard <<A HREF="mailto:jleonard#divcom,umop-ap.com">jleonard#divcom,umop-ap.com</A>></LI>
<LI><em>Date</em>: Tue, 17 Mar 1998 11:18:40 -0800</LI>
<LI><em>Cc</em>: Jon Leonard <<A HREF="mailto:jleonard#divcom,umop-ap.com">jleonard#divcom,umop-ap.com</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 Tue, Mar 17, 1998 at 10:58:58AM +0000, Niklas Elmqvist wrote:
> On Tue, 17 Mar 1998, Ben Greear wrote:
> >
> > I'm pondering a multi level transport stream. The important stuff
> > would go over tcp/ip, and the client-side-cache updates would run
> > over UDP.
> >
> > The question is, what is the packet size (max) that UDP can handle?
>
> A good place to find information about anything that even remotely
> pertains to networks and the Internet are the RFC docs. A bit technical
> (but that's how we like them) but usually of good standard. You can find a
> directory containing ASCII-text versions of all the RFCs at
> <URL:<A HREF="http://ftp.sunet.se/pub/Internet-documents/rfc/">http://ftp.sunet.se/pub/Internet-documents/rfc/</A>> (the index is called
> rfc-index.txt).
>
> RFC 1180 is a TCP/IP tutorial, and a good one at that, but only brushes
> through UDP. RFC 768 concerns itself solely with UDP, the answer to your
> question might be found there.
It's likely more complicated than that. The maximum size of a UDP packet
is about the maximum size of an IP datagram (quite large). Realisticly,
though, you want largest packet that won't get broken up into fragments.
The largest non-fragmenting packet (MTU = Maximum Transfer Unit) depends
on the networks involved. For Ethernet, it's about 1500 bytes. Most high
speed networks have larger maxima, but you could see almost anything.
A search for "MTU discovery" should probably find something on how some
TCP implementations figure out what the optimal packet size is. Anyone
seriously considering a UDP tranport protocol should write something similar.
The basic idea is set the "don't fragment" bit, and play with packet size
until you find out what works.
Jon Leonard
</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="00745" HREF="msg00745.html">Re: [MUD-Dev] Transport layer (UDP vs TCP)</A></strong>
<ul compact><li><em>From:</em> Ben Greear <greear#cyberhighway,net></li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00733" HREF="msg00733.html">Transport layer (UDP vs TCP)</A></STRONG>
<UL><LI><EM>From:</EM> Ben Greear <greear#cyberhighway,net></LI></UL></LI>
<LI><STRONG><A NAME="00737" HREF="msg00737.html">Transport layer (UDP vs TCP)</A></STRONG>
<UL><LI><EM>From:</EM> Niklas Elmqvist <d97elm#dtek,chalmers.se></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00738.html">Re: [MUD-Dev] Speaking of Avatars</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00741.html">Re: [MUD-Dev] Balancing Addicts</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00737.html">Transport layer (UDP vs TCP)</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00745.html">Re: [MUD-Dev] Transport layer (UDP vs TCP)</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00739"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00739"><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] XShipWars</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00848" HREF="msg00848.html">Re: [MUD-Dev] XShipWars</A></strong>,
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Mon 23 Mar 1998, 18:48 GMT
</LI>
</ul>
</ul>
</LI>
<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>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</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>