[omniORB] Changing where the ORB host and port.
Duncan Grisby
duncan at grisby.org
Fri Jan 16 13:09:24 GMT 2015
On Thu, 2015-01-15 at 19:31 +0100, Ramón Talavera wrote:
> ORB orb=init_orb(host1,port1);
> client1=getClient("ASERVANT");
> orb=CORBA::init_orb(host2,port2);
>
> client2=getClient("ASERVANT");
>
[...]
> It seems that the client2 gets a reference to the servant ASERVANT
> from host1,port1, as if the second init_orb had been ignored and it is
> still using the nameservice of the first time it received a
> configuration .
Indeed. As we say in the other thread, omniORB's ORB is a singleton and
you can't have more than one.
But why do you want to? Is it just about the naming service, or is it
something to do with which ports your server is listening on?
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list