summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Endpoint.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2001-05-20 00:01:47 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2001-05-20 00:01:47 +0000
commitaa26581962d6b90ba992dc61fbb338b9104a8116 (patch)
treeb448948ff0ff84d66dd2706d8885c5f862c9c1ff /TAO/tao/IIOP_Endpoint.cpp
parentbeef4f961f2ed411678a68cda63c09dfa24ef73e (diff)
downloadATCD-aa26581962d6b90ba992dc61fbb338b9104a8116.tar.gz
ChangeLogTag:Sat May 19 17:00:00 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/IIOP_Endpoint.cpp')
-rw-r--r--TAO/tao/IIOP_Endpoint.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/tao/IIOP_Endpoint.cpp b/TAO/tao/IIOP_Endpoint.cpp
index 9e32819f9e4..39b23454801 100644
--- a/TAO/tao/IIOP_Endpoint.cpp
+++ b/TAO/tao/IIOP_Endpoint.cpp
@@ -15,9 +15,9 @@ TAO_IIOP_Endpoint::TAO_IIOP_Endpoint (const ACE_INET_Addr &addr,
int use_dotted_decimal_addresses)
: TAO_Endpoint (TAO_TAG_IIOP_PROFILE),
host_ (),
- port_ (0),
+ port_ (683), // default port (IANA assigned)
object_addr_ (addr),
- /* hint_ (0), */
+ /* hint_ (0), */
next_ (0)
{
this->set (addr, use_dotted_decimal_addresses);
@@ -35,16 +35,19 @@ TAO_IIOP_Endpoint::TAO_IIOP_Endpoint (const char *host,
{
if (host != 0)
this->host_ = host;
+
+ this->object_addr_.set_type (-1);
}
TAO_IIOP_Endpoint::TAO_IIOP_Endpoint (void)
: TAO_Endpoint (TAO_TAG_IIOP_PROFILE),
host_ (),
- port_ (0),
+ port_ (683), // default port (IANA assigned)
object_addr_ (),
/* hint_ (0), */
next_ (0)
{
+ this->object_addr_.set_type (-1);
}
TAO_IIOP_Endpoint::TAO_IIOP_Endpoint (const char *host,