[omniORB] INSPOA port number

Frédéric Prin frederic.prin@silvaco.com
Wed, 5 Dec 2001 11:43:39 +0100


Hi all,

Is there a way to set the default port number to the ORB other than command
line -ORBpoa_iiop_port ?
something like orb->setport(...) ?

I do not not want to use a configuration file nor a script for starting my
server with the goog command line.
I want to hard code it as a default value (but not the 2809 used !) if no
other settings are made either with command line or configuration file.

The only way I found is to rebuild an argv string array and append
"-ORBpoa_iiop_port <myDefaultPort>" and increment argc and then feed
ORB_init with it!


Thanks

       _____________________________
      /                            /|
     /___________________________ / |
    |                            |  |
    | Frédéric Prin              |  |
    | Senior Software Engineer   |  |
    |      S I L V A C O         |  |
    | Grenoble REsearch CEnter   |  |
    | Tel 04 56 38 10 33         | /|
    |____________________________|/ /
   /__/__/__/__/__/__/__/__/__/__/ /
  /__/__/__/__/__/__/__/__/_____/ /
 /__/__/__/__/__/__/__/__/__/__/ /
 \_____________________________|/