summaryrefslogtreecommitdiff
path: root/TAO/tao/Strategies/SHMIOP_Acceptor.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-06-12 17:29:37 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-06-12 17:29:37 +0000
commit2039e7e5e0d5557fb882ee93ff39a03f76c86d5f (patch)
tree9f632e11b149c7f597833b3b14c444670aec1930 /TAO/tao/Strategies/SHMIOP_Acceptor.cpp
parentb084165d4e10cba99d560d9057f8b41d920f3957 (diff)
downloadATCD-2039e7e5e0d5557fb882ee93ff39a03f76c86d5f.tar.gz
ChangeLogTag:Wed Jun 12 13:24:11 2002 Carlos O'Ryan <coryan@atdesk.com>
Diffstat (limited to 'TAO/tao/Strategies/SHMIOP_Acceptor.cpp')
-rw-r--r--TAO/tao/Strategies/SHMIOP_Acceptor.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/TAO/tao/Strategies/SHMIOP_Acceptor.cpp b/TAO/tao/Strategies/SHMIOP_Acceptor.cpp
index 4fc08eccdd2..2072e61a650 100644
--- a/TAO/tao/Strategies/SHMIOP_Acceptor.cpp
+++ b/TAO/tao/Strategies/SHMIOP_Acceptor.cpp
@@ -194,6 +194,17 @@ TAO_SHMIOP_Acceptor::is_collocated (const TAO_Endpoint *endpoint)
if (endp == 0)
return 0;
+ // @@ TODO The following code looks funky, why only the host
+ // name is compared? What if there are multiple SHMIOP
+ // servers in the same address? Why do SHMIOP_Endpoints keep
+ // a INET_Addr but not a MEM_Addr? And why is there no lazy
+ // evaluation of IP-addresses for SHMIOP endpoints? Is it
+ // because it is always 'localhost'? We need answers to
+ // these questions to solve:
+ //
+ // http://deuce.doc.wustl.edu/bugzilla/show_bug.cgi?id=1220
+ //
+ // The following code is suspec
// compare the port and sin_addr (numeric host address)
return this->address_.same_host (endp->object_addr ());
}