summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Connector.cpp
diff options
context:
space:
mode:
authoryamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-08-07 05:20:19 +0000
committeryamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-08-07 05:20:19 +0000
commitfa95e8dff2f1dde7b90bf015b942a14c4cbc06eb (patch)
treeb72a99fdf107daf127fc6492aeb9c47700f9422f /TAO/tao/IIOP_Connector.cpp
parent81d1e89e478c4dea7312d39def9bc894f14c2d6a (diff)
downloadATCD-fa95e8dff2f1dde7b90bf015b942a14c4cbc06eb.tar.gz
ChangelogTag: Wed Aug 7 24:35:45 2002 Yamuna Krishnamurthy <yamuna@oomworks.com>
Diffstat (limited to 'TAO/tao/IIOP_Connector.cpp')
-rw-r--r--TAO/tao/IIOP_Connector.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/TAO/tao/IIOP_Connector.cpp b/TAO/tao/IIOP_Connector.cpp
index 79edc13b4e6..0cd44eb4240 100644
--- a/TAO/tao/IIOP_Connector.cpp
+++ b/TAO/tao/IIOP_Connector.cpp
@@ -1,3 +1,4 @@
+
#include "IIOP_Connector.h"
#include "IIOP_Profile.h"
#include "debug.h"
@@ -353,6 +354,7 @@ TAO_IIOP_Connector::init_tcp_properties (void)
int send_buffer_size = this->orb_core ()->orb_params ()->sock_sndbuf_size ();
int recv_buffer_size = this->orb_core ()->orb_params ()->sock_rcvbuf_size ();
int no_delay = this->orb_core ()->orb_params ()->nodelay ();
+ int enable_network_priority = 0;
TAO_Protocols_Hooks *tph = this->orb_core ()->get_protocols_hooks (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (-1);
@@ -366,6 +368,7 @@ TAO_IIOP_Connector::init_tcp_properties (void)
tph->call_client_protocols_hook (send_buffer_size,
recv_buffer_size,
no_delay,
+ enable_network_priority,
protocol_type);
if(hook_result == -1)
@@ -379,6 +382,8 @@ TAO_IIOP_Connector::init_tcp_properties (void)
recv_buffer_size;
this->tcp_properties_.no_delay =
no_delay;
+ this->tcp_properties_.enable_network_priority =
+ enable_network_priority;
return 0;
}