Is it possible to implement client/server communication between a C++ program (client program) running in linux OS with a C# program(server program) running in Windows using RMI implementation?Can anyone suggest any possible way...Any kind of helpful reference is welcome
You would need to go along the lines of Google Protobuf. It is available with C++ and C# as well.
A similar answer from MSDN
It does not matter if you send data from java,c++ or c#, when it goes over the network it's just 1s and 0s. It's a matter of what you do with it on the client/server side. So, be sure that the data that you receive corresponds with the structure that you have (that you want to deserialize to).
Sometimes you need to manually put the bits and bytes together to get it all working out. However, there is something called "Protobuff" that can help you get a common structure of the data that you send, google it and read all about it.
You can implement client server with sockets and serialize/deserialize it using protobuf. (MSDN link might help in solution)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With