[omniORB] Can I make my program listen to more than one name service?

Mohan rmohan@ice-com.com
Fri Aug 2 07:45:02 2002


Hi,
Thanks very much. I have one more question. Since on the client machine I am
setting ORBInitialHost & ORBInitialPort in the registry under
HKEY_LOCAL_MACHINE/Software/ORL/omniORB/2.0, the client program is written
in such a way that it will be binding to the name service with that
specified host on registry. So my question for you is how can I specify/add
the other name service on the registry so that my client program can also
bind to the other name service and communicate to both of them.
Thanks,
Ram
----- Original Message -----
From: "bjorn rohde jensen" <bjensen@fastmail.fm>
To: "Mohan" <rmohan@ice-com.com>
Cc: <omniorb-list@realvnc.com>
Sent: Friday, August 02, 2002 11:53 AM
Subject: Re: [omniORB] Can I make my program listen to more than one name
service?


> Hi Ram,
>
>  Sure, you can use all the NameServices, you want to,
> you just need a corbaloc/corbaname to each of them.
> You can narrow these references to a NamincContext
> just like, you narrow the reference returned by
> resolve_initial_references("NameService").
>
> Yours sincerely,
>
> Bjorn
>