Hello .
I am a bit confused on what use argc, argv of the statement
CORBA::ORB_var orb = CORBA::ORB_init (argc, argv);
have on the client side.
For example
If you type "client" into the command prompt you will get a default server and port number.
If you type "server -ORBIIOPAddr inet:127.0.0.1:54321"
It will make the server listen on this server at port 54321.
Why will program run correctly if the client and server have initialized the orb differently?
Does the client not need to initialise the orb to the correct address and port of the server inorder to use the following?
CORBA::Object_var obj = orb->string_to_object (uri);
Any ideas
Thanks