TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: Geo
from: John Beckett
date: 2005-05-20 07:58:32
subject: Re: Crappy Windows 2000/XP UDP performance

From: John Beckett 

"Geo"  wrote in message
news::
> Then what is this discussing?
> http://www-mice.cs.ucl.ac.uk/multimedia/misc/tcp_ip/8810.mm.www/0098.html

It is what I was saying about a DNS query. Imagine that I send a query for
www.nls.net. Your DNS server could send a 50K byte reply (listing 200
alternate IP addresses and additional info). My DNS server would have to
have a buffer that could hold the entire 50KB message, and it would have to
send it to me, and my client would need a buffer that can hold the 50KB
message.

The fact is that my client doesn't want your reply if it is that big. My
client (probably) will NOT allocate a 64KB buffer to receive a DNS reply.
My DNS server certainly won't want to allocate these buffers for every
idiot who is doing a query at the moment.

Therefore, it is a matter of judgement as to how large a buffer should be
allocated. There is no specification for this. An IP datagram (and a UDP
packet) *could* be up to 64K bytes, but the application may not want to
handle that size. The RFC in your URL is saying that if you are sending a
datagram to a random host, you may assume that 576 bytes will fit in the
host's buffer. Anything more than that is at the discretion of the
receiver.

John

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.