summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp
diff options
context:
space:
mode:
authorsbw1 <sbw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-18 22:38:45 +0000
committersbw1 <sbw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-18 22:38:45 +0000
commit25ff597092c688a0c87b1331cb1767cc3960e445 (patch)
tree5fbb2ff6497039318fd331d4e9b42dd984bcb910 /TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp
parentb3e43388711bc684fd43f08fdb48714b1892123f (diff)
downloadATCD-25ff597092c688a0c87b1331cb1767cc3960e445.tar.gz
Changed these files to use the new multicast protocol.
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp b/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp
index d1b82743cb4..027eec37148 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp
+++ b/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp
@@ -21,6 +21,7 @@
#include "orbsvcs/CosNamingC.h"
#include "tao/corba.h"
#include "Naming_Utils.h"
+#include "tao/orbobj.h"
// Default constructor
@@ -103,9 +104,10 @@ TAO_Naming_Server::init (CORBA::ORB_var &orb,
// Instantiate a server which will receive requests for an ior
ACE_NEW_RETURN (ior_multicast_,
- IOR_Multicast (naming_ior ,
+ IOR_Multicast (naming_ior,
port,
- ACE_DEFAULT_MULTICAST_ADDR),
+ ACE_DEFAULT_MULTICAST_ADDR,
+ TAO_SERVICEID_NAMESERVICE),
-1);
// Register event handler for the ior multicast.