Open crippler123 opened 2 years ago
Can you make your question more accurate ? The name of the protocol is the same in C++ and in python.
Hi Thanks for answering.
My question is for the following post: https://github.com/Gepetto/gepetto-viewer-corba/issues/103
Recently I've started to work with omniORB in windows.
Currently, I don't want to use a naming service, and I want to write a simple client-server example.
I've tried to write client-server with C++, based on the python example, and the client throws me TRANSIENT exception.
Please preview the attached files.
server - server application client - client application Calculator.idl - idl of calculator Calculator.hh/cc cpp files generated by omniidl
Tried to run as follwing:
server.exe -ORBendPoint', 'giop:tcp:localhost:12321 client.exe corbaloc::localhost:12321/CalcServer
client throws TRANSIENT exception
I've tried also to diable firewall and antivirus, and even to run in admin mode, still the same.
Here is an example of client implemented in C++: https://github.com/humanoid-path-planner/hpp-corbaserver/blob/master/src/client.cc The associated idl definitions are here https://github.com/humanoid-path-planner/hpp-corbaserver/tree/master/idl/hpp/corbaserver.
Can you compare your implementation with this example ?
I'm afraid it's too advanced for me. I've attached my code before your last reply, can you review it?
There are c++ clients in this repo. https://github.com/Gepetto/gepetto-viewer-corba/blob/master/include/gepetto/viewer/corba/client.hh
Hi, is there a C++ equivalent?
In client side, what is the ior string
corbaloc:iiop:: ?