[omniORB] using multiple ports
Duncan Grisby
duncan@grisby.org
Thu Nov 21 11:46:01 2002
On Tuesday 19 November, "Renzo Tomaselli" wrote:
> As a matter of consistency, I would like to remove this redundant startup
> port and modify application startup according to the sequence:
> - init the orb through the usual (os-chosen) random port.
> - access the remote registry and pick up the official port.
> - reinit the orb adding the new port in ORB_init.
That won't work, since ORB_init ignores its arguments after the first
call to it. You can't add a new port to listen on.
In omniORB 4 you can destroy the ORB, then initialise a new one with
ORB_init again. You can't do that in omniORB 3.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan@grisby.org --
-- http://www.grisby.org --