From 5556b70c487a66ca5e04ad9fa931de552a480202 Mon Sep 17 00:00:00 2001 From: gthaker Date: Wed, 6 Aug 2003 14:20:43 +0000 Subject: ChangeLogTag: Tue Aug 5 15:20:00 UTC 2003 Gautam Thaker --- TAO/tao/Strategies/SCIOP_Connection_Handler.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'TAO/tao/Strategies') 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)); -- cgit v1.2.1