diff options
author | gthaker <gthaker@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-08-06 14:20:43 +0000 |
---|---|---|
committer | gthaker <gthaker@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-08-06 14:20:43 +0000 |
commit | 5556b70c487a66ca5e04ad9fa931de552a480202 (patch) | |
tree | 644221b97b761d51f85ba1c9c8992ce102fe11d4 /TAO/tao/Strategies | |
parent | e370f7328572df73437dd1980b7ed537e1946c9b (diff) | |
download | ATCD-5556b70c487a66ca5e04ad9fa931de552a480202.tar.gz |
ChangeLogTag: Tue Aug 5 15:20:00 UTC 2003 Gautam Thaker <gthaker@atl.lmco.com>
Diffstat (limited to 'TAO/tao/Strategies')
-rw-r--r-- | TAO/tao/Strategies/SCIOP_Connection_Handler.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/TAO/tao/Strategies/SCIOP_Connection_Handler.cpp b/TAO/tao/Strategies/SCIOP_Connection_Handler.cpp index 51e905cf1bc..aa54a79b267 100644 --- a/TAO/tao/Strategies/SCIOP_Connection_Handler.cpp +++ b/TAO/tao/Strategies/SCIOP_Connection_Handler.cpp @@ -2,11 +2,15 @@ #if TAO_HAS_SCIOP == 1 +// jcohen@atl.lmco.com: The purpose of this is to allow RH9 to build +// SCIOR Profile support even without a functioning SCTP implementation #ifndef IPPROTO_SCTP -#include "netinet/sctp.h" +# include "netinet/sctp.h" #else // !IPPROTO_SCTP -#define SCTP_NODELAY 1 +# ifndef SCTP_NODELAY +# define SCTP_NODELAY 1 +# endif // !SCTP_NODELAY #endif #include "tao/Timeprobe.h" @@ -394,7 +398,7 @@ TAO_SCIOP_Connection_Handler::set_dscp_codepoint (void) if (tos != this->dscp_codepoint_) { - int ret = this->peer ().set_option (IPPROTO_IP, + int ret = this->peer ().set_option (IPPROTO_SCTP, IP_TOS, (int *) &tos , (int) sizeof (tos)); |