diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-11-27 06:04:10 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-11-27 06:04:10 +0000 |
commit | c08f68e92f2454a46ec91db97d776ad6304328bb (patch) | |
tree | a53c24ee44d6b4fb4c6bb2d8e3168b987eb9f08b /ace/Pipe.cpp | |
parent | 8d87d701900caa1f26567a5c639aa2c244fa1eeb (diff) | |
download | ATCD-c08f68e92f2454a46ec91db97d776ad6304328bb.tar.gz |
foo
Diffstat (limited to 'ace/Pipe.cpp')
-rw-r--r-- | ace/Pipe.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ace/Pipe.cpp b/ace/Pipe.cpp index 027ba172c92..8101c915453 100644 --- a/ace/Pipe.cpp +++ b/ace/Pipe.cpp @@ -39,9 +39,8 @@ ACE_Pipe::open (void) { ACE_INET_Addr sv_addr (my_addr.get_port_number (), "localhost"); - // Establish a connection within the same process, make sure to - // enable the "reuse addr" flag. - if (connector.connect (writer, sv_addr, 0, ACE_Addr::sap_any, 1) == -1) + // Establish a connection within the same process. + if (connector.connect (writer, sv_addr) == -1) result = -1; else if (acceptor.accept (reader) == -1) { @@ -50,6 +49,7 @@ 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 @@ -57,6 +57,7 @@ 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 (); |