Re: Remote ORB invocation



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_);


I don't know if this works with ORBit 2.

> 
> Chris
-- 
Craig W. Wright <spiral@cs.unm.edu>

This is a digitally signed message part



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