summaryrefslogtreecommitdiff
path: root/ace/SOCK_Connector.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2001-12-03 21:34:18 +0000
committerSteve Huston <shuston@riverace.com>2001-12-03 21:34:18 +0000
commitbe1c9f9fbf62c0194c507cd99acb0d11205983d1 (patch)
tree408f77903765e492a9d40c64440d175f1cf97825 /ace/SOCK_Connector.cpp
parentf3e1c2ebad0ad5b741c5c0022dc2a9abeb7d97b6 (diff)
downloadATCD-be1c9f9fbf62c0194c507cd99acb0d11205983d1.tar.gz
ChangeLogTag:Mon Dec 3 15:50:42 2001 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/SOCK_Connector.cpp')
-rw-r--r--ace/SOCK_Connector.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/ace/SOCK_Connector.cpp b/ace/SOCK_Connector.cpp
index 728e5d158df..1cba42f861e 100644
--- a/ace/SOCK_Connector.cpp
+++ b/ace/SOCK_Connector.cpp
@@ -148,6 +148,10 @@ ACE_SOCK_Connector::connect (ACE_SOCK_Stream &new_stream,
int protocol)
{
ACE_TRACE ("ACE_SOCK_Connector::connect");
+
+ // @@ Should remove this arg when IPv6 is merged...
+ ACE_UNUSED_ARG (protocol_family);
+ protocol_family = remote_sap.get_type ();
if (this->shared_open (new_stream,
protocol_family,
protocol,
@@ -183,8 +187,13 @@ ACE_SOCK_Connector::connect (ACE_SOCK_Stream &new_stream,
int protocol)
{
ACE_TRACE ("ACE_SOCK_Connector::connect");
+
+ // @@ Should remove this arg when IPv6 is merged...
+ ACE_UNUSED_ARG (protocol_family);
+ protocol_family = remote_sap.get_type ();
+
if (this->shared_open (new_stream,
- protocol_family,
+ remote_sap.get_type (),
protocol,
protocolinfo,
g,