Re: Remote ORB invocation



Hi,

On Fri, 2002-11-15 at 06:16, Craig W. Wright wrote:
> On Thu, 2002-11-14 at 07:08, Chris Wareham wrote:
> 
> > I have tried to make some simple test cases using ORBit,
> > but they don't seem to work across the network. I'm guessing
> > that I need to pass a different argument to CORBA_ORB_init()
> > other than "orbit-local-orb". I also remember reading that
> > by default ORBit doesn't allow network connections - but is
> > this simply to rather than from the ORB? I'm also unclear
> > what the ORBit equivalent of MICO's "nsd" daemon is.
> > 
> 
> This is what I do (it works for version 0.5.15).
> 
> // Basically we are telling orbit it is ok
> // to use IP version 4 for communications.
> char *args[2] = { "-ORBIIOPIPv4=1", "-ORBIIOPIPv4=1"};
> int numArgs = 2;
> helper.orb_ =    
> CORBA_ORB_init(&numArgs,args,"orbit-local-orb",helper.ev_);

	Should work fine with ORBit2. Note this can also
go into your ~/.orbitrc. See the FAQ on orbit-resource.sf.net.

	Also note that "orbit-local-orb" isn't required
with ORBit2. The spec says that passing an empty string,
"", should give you the default ORB and ORBit2 now does
that.

Good Luck,
Mark.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]