|
Home > Archive > Unix Programming > April 2004 > Can TCP_NODELAY be turned on and off in a single session?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Can TCP_NODELAY be turned on and off in a single session?
|
|
| Chris Markle 2004-04-29, 1:34 am |
| Hi,
Can one toggle TCP_NODELAY (disable Nagle) off for part of the time during a
connection (maybe for some back and forth short protocol interaction) and
then on for another time period in the same connection (say for a more bulk
data portion of a protocol)?
Chris
| |
| Barry Margolin 2004-04-29, 2:34 am |
| In article <GR%jc.11458$RE1.1161892@attbi_s54>,
"Chris Markle" <cmarkle@sendmail.com> wrote:
> Can one toggle TCP_NODELAY (disable Nagle) off for part of the time during a
> connection (maybe for some back and forth short protocol interaction) and
> then on for another time period in the same connection (say for a more bulk
> data portion of a protocol)?
I can't think of any reason why not.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
| |
| David Schwartz 2004-04-29, 11:34 am |
|
"Chris Markle" <cmarkle@sendmail.com> wrote in message
news:GR%jc.11458$RE1.1161892@attbi_s54...
> Can one toggle TCP_NODELAY (disable Nagle) off for part of the time during
> a
> connection (maybe for some back and forth short protocol interaction) and
> then on for another time period in the same connection (say for a more
> bulk
> data portion of a protocol)?
Since Nagle has no affect on back and forth short protocol interactions,
why would you want to?
DS
|
|
|
|
|