summaryrefslogtreecommitdiff
path: root/ace/Pipe.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-02-18 02:40:41 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-02-18 02:40:41 +0000
commit562b15c75e86ee3cb8d955c4b637bed4337e7bee (patch)
tree4f343ced0f72d097c7c6f539b572abb521d9c837 /ace/Pipe.cpp
parentaac4f94ce5b26eb9e5c2e5a903eaa983f1053a3f (diff)
downloadATCD-562b15c75e86ee3cb8d955c4b637bed4337e7bee.tar.gz
enabled TCP_NODELAY on VxWorks now that OS.h #includes netinet/tcp.h
Diffstat (limited to 'ace/Pipe.cpp')
-rw-r--r--ace/Pipe.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/ace/Pipe.cpp b/ace/Pipe.cpp
index 6aade889615..94c210497cb 100644
--- a/ace/Pipe.cpp
+++ b/ace/Pipe.cpp
@@ -47,7 +47,6 @@ ACE_Pipe::open (void)
}
}
-#if !defined (VXWORKS)
int one = 1;
// Make sure that the TCP stack doesn't try to buffer small writes.
// Since this communication is purely local to the host it doesn't
@@ -55,7 +54,6 @@ ACE_Pipe::open (void)
if (writer.set_option (IPPROTO_TCP, TCP_NODELAY,
&one, sizeof one) == -1)
return -1;
-#endif /* !VXWORKS */
// Close down the acceptor endpoint since we don't need it anymore.
acceptor.close ();