Re: When to turn on TCP_NODELAY?
Re: When to turn on TCP_NODELAY?
- Subject: Re: When to turn on TCP_NODELAY?
- From: Quinn <email@hidden>
- Date: Tue, 20 May 2003 09:30:23 +0100
Someone asked me this question off list, but I thought others would
benefit from the answer.
At 0:37 -0600 20/5/03, someone wrote:
At 21:23 +0100 19/5/03, Quinn wrote:
[1] I wish it'd be called "TCP_NONAGLE", 'cause "no delay" makes it
sound like you *always* want it on.
I lost you here, don't know if it was meant to be serious or humorous.
no-nagle? non-agle? I'm missing an acronym? a joke?
The algorithm TCP uses to coalesce small outgoing packets is called
the Nagle algorithm, after its inventor, John Nagle. TCP geeks
sometimes calling this "Nagling". TCP_NODELAY turns off Nagling.
There's plenty of information about Nagling out there on the web. I
did a quick search and found that questions 3.16 and 3.17 of the
"Winsock Programmers FAQ" were particularly enlightening.
<
http://tangentsoft.net/wskfaq/intermediate.html#nagle-desc>
Nagling is a feature of TCP itself, so this information is relevant
for Mac OS X.
The formal specification is available as RFC 896.
<
http://www.ietf.org/rfc/rfc0896.txt?number=896>
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.