Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- Specify CORBA arguments e.g IP-address when initializing the client object.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20947 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Jun 3, 2014
1 parent 82dcd52 commit 1ae66b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/OMC/OMCProxy.cpp
Expand Up @@ -354,7 +354,7 @@ bool OMCProxy::startServer()
}
// ORB initialization.
int argc = 2;
static const char *argv[] = {"-ORBgiopMaxMsgSize", "2147483647"};
static const char *argv[] = {"-NoResolve", "-IIOPAddr", "inet:127.0.0.1:0", "-ORBgiopMaxMsgSize", "2147483647"};
CORBA::ORB_var orb = CORBA::ORB_init(argc, (char **)argv);
objectRefFile.open(QIODevice::ReadOnly);
char buf[1024];
Expand Down

0 comments on commit 1ae66b5

Please sign in to comment.