summaryrefslogtreecommitdiff
path: root/ace/Pipe.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-20 04:11:25 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-20 04:11:25 +0000
commit2e694cc1441a667d366395b889df4d30abe071c9 (patch)
tree0747106206d87c13e6e936a7846a68949abce9bf /ace/Pipe.cpp
parent6de6d532e993dc815715c1b0db5b77bb12fef96b (diff)
downloadATCD-2e694cc1441a667d366395b889df4d30abe071c9.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Pipe.cpp')
-rw-r--r--ace/Pipe.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/Pipe.cpp b/ace/Pipe.cpp
index 5979e56fb77..89058740368 100644
--- a/ace/Pipe.cpp
+++ b/ace/Pipe.cpp
@@ -53,10 +53,10 @@ ACE_Pipe::open (void)
int one = 1;
// Make sure that the TCP stack doesn't try to buffer small writes.
- if (this->ACE_SOCK::set_option (IPPROTO_TCP,
- TCP_NODELAY,
- &one,
- sizeof one) == -1)
+ // Since this communication is purely local to the host it doesn't
+ // affect network performance.
+ if (writer.set_option (IPPROTO_TCP, TCP_NODELAY,
+ &one, sizeof one) == -1)
return -1;
// Close down the acceptor endpoint since we don't need it anymore.