Is it possible that we could associate a C ++ program on Linux with a C # program acting as a server using the method's remote method call?

Is it possible to implement communication between a client and a server between a C ++ program (client program) running on a Linux operating system and a C # program (server program) running on Windows using an RMI implementation ? possible way ... Any useful links are welcome

+4
source share
7 answers

We could just write a C # program to listen to messages from a specific port and write another C ++ client program to write a message to that port. That way we could report to both applications.

+1
source

You will need to follow the Google Protobuf lines . It is also available with C ++ and C # .

Similar MSDN answer

It doesn’t matter if you send data from java, C ++ or C #, when this happens over the network it is only 1 s and 0. This is a question of what you do with it on the client / server side. So make sure that the data you receive matches the structure you have (what you want to deserialize to).

, . , "", , , google .

/ protobuf. ( MSDN )

+7

, . ZMQ, ; , . apache

+2
+2

. , RMI - , , .

-, - - RESTful. ( ). , , , ++ Linux # Windows.

+2

, /.

, , , , .

.

, ++ # , .

. , HTTP , , HTTP- . , HTTP-.

. HTTP TCP. , . .

.

( RPC):

(RPC) - , ( ) , .

, , , , .

RPC:

:

, . , , - , - RPC.

+1

Mozilla XPCOM . PyXPCOM. , - VBox. , VBox ( Windows) Linux, VBox API ( ++) VBox. ,

Linux <- xpCom → VBox <- COM → Windows

+1
source

Source: https://habr.com/ru/post/1608983/


All Articles