diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-12-22 16:19:47 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-12-22 16:19:47 +0000 |
commit | 9b5664cf4ead5696a6485d09444af86b2ed42146 (patch) | |
tree | 5ed3517d3b7bf2a9bd495292fb8726db7c73b9cf /TAO/tao/IIOP_Connect.cpp | |
parent | b23d09b9902403e1b1fabd5518b849808a27b4b0 (diff) | |
download | ATCD-9b5664cf4ead5696a6485d09444af86b2ed42146.tar.gz |
ChangeLogTag: Wed Dec 22 10:17:08 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/IIOP_Connect.cpp')
-rw-r--r-- | TAO/tao/IIOP_Connect.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/IIOP_Connect.cpp b/TAO/tao/IIOP_Connect.cpp index 61011b46860..53cc3f52acc 100644 --- a/TAO/tao/IIOP_Connect.cpp +++ b/TAO/tao/IIOP_Connect.cpp @@ -114,7 +114,7 @@ TAO_IIOP_Server_Connection_Handler::open (void*) return -1; #endif /* !ACE_LACKS_SOCKET_BUFSIZ */ -#if defined (TCP_NODELAY) +#if !defined (ACE_LACKS_TCP_NODELAY) int nodelay = this->orb_core_->orb_params ()->nodelay (); @@ -123,7 +123,7 @@ TAO_IIOP_Server_Connection_Handler::open (void*) (void *) &nodelay, sizeof (nodelay)) == -1) return -1; -#endif /* TCP_NODELAY */ +#endif /* ! ACE_LACKS_TCP_NODELAY */ (void) this->peer ().enable (ACE_CLOEXEC); // Set the close-on-exec flag for that file descriptor. If the @@ -374,7 +374,7 @@ TAO_IIOP_Client_Connection_Handler::open (void *) return -1; #endif /* ACE_LACKS_SOCKET_BUFSIZ */ -#if defined (TCP_NODELAY) +#if !defined (ACE_LACKS_TCP_NODELAY) int nodelay = this->orb_core_->orb_params ()->nodelay (); if (this->peer ().set_option (ACE_IPPROTO_TCP, @@ -384,7 +384,7 @@ TAO_IIOP_Client_Connection_Handler::open (void *) ACE_ERROR_RETURN ((LM_ERROR, ASYS_TEXT ("NODELAY failed\n")), -1); -#endif /* TCP_NODELAY */ +#endif /* ! ACE_LACKS_TCP_NODELAY */ (void) this->peer ().enable (ACE_CLOEXEC); // Set the close-on-exec flag for that file descriptor. If the |