[omniORB] How to run example on different host ?
fanny
fannys at ms3.url.com.tw
Mon May 26 03:41:26 BST 2003
Hi all,
I am new on omniORB, I am try to run example 2 and 3 on different
host(Host Server, Host Client)
I try to modify in eg2_clt.cc as follows :
CORBA::ORB_var orb = CORBA::ORB_init(argc, argv);
/*
if( argc != 2 ) {
cerr << "usage: eg2_clt <object reference>" << endl;
return 1;
}
*/
//CORBA::Object_var obj = orb->string_to_object(argv[1]);
CORBA::Object_var obj =
orb->string_to_object("corbaloc:iiop:1.2 at Server:2809/NamesService");
Echo_var echoref = Echo::_narrow(obj);
then, I can see the Connection information in Server from Client , but
it seems not work , because they don't say "hello" to each other,
Would you please tell me Why ?
Fanny
More information about the omniORB-list
mailing list