summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-07-10 03:23:04 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-07-10 03:23:04 +0000
commit9d7d9bc06535e76f5ae4b945d204963d839d9645 (patch)
tree163ee536ee52b1db66f03f7934c39b5127b08e6c
parent50d58615c3bc7dd112a584f70fc81050681d1a28 (diff)
downloadATCD-9d7d9bc06535e76f5ae4b945d204963d839d9645.tar.gz
Updated default preconnect port to be 683 instead of 9999 since
the default port for CORBA 3 will be 683, as assigned by the IANA.
-rw-r--r--TAO/tao/IIOP_Connector.cpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/TAO/tao/IIOP_Connector.cpp b/TAO/tao/IIOP_Connector.cpp
index f87ae93ce88..7e77bf21ab9 100644
--- a/TAO/tao/IIOP_Connector.cpp
+++ b/TAO/tao/IIOP_Connector.cpp
@@ -209,15 +209,22 @@ TAO_IIOP_Connector::preconnect (const char *preconnects)
}
else
{
- dest.set (9999, thost);
+ // No port was specified so assume that the port will be the
+ // IANA assigned port for IIOP.
+ //
+ // IIOP: 683
+ // IIOP over SSL: 684
+
+ dest.set (683, thost);
dests.push (dest);
if (TAO_debug_level > 0)
{
ACE_DEBUG ((LM_DEBUG,
"TAO (%P|%t) No port specified for <%s>. "
- "Using <9999> as default port.\n",
- where));
+ "Using <%d> as default port.\n",
+ where,
+ dest.get_port_number ()));
}
}
}