[omniORB] omniORB3

Duncan Grisby duncan at grisby.org
Fri Jul 11 20:27:53 BST 2003


On Thursday 10 July, "Pannala, Raj" wrote:

> What is the environment variable that I can use instead of the command-line
> option -ORBpoa_iiop_port?
> OMNIORB_HOSTNAME=127.0.0.1:8101 does not work, but
> OMNIORB_HOSTNAME=127.0.0.1 works.

There is no way to do that. In omniORB 3, the only way to set the port
is with -ORBpoa_iiop_port. You can add it to argv before calling
ORB_init() if you need to set it programatically. Look at omniNames to
see how to do it.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list