An elegant way to exchange cross-language data

I have a socket server that I write in C ++, and a client that I wrote in C #, now I want to send messages between them. I considered de-serializing the "messages" of objects for xml and instantiating objects in explorer, and it looks like an elegant way to do something, rather than parsing the / xml string, but I'm open to new ideas, and if someone does did before I would like to hear your experience, will it also work for the exchange of data between C # and C ++ (compiled with Microsoft VS, but without .NET support)?

Thank,

Deepak.

+3
source share
1 answer

, , " " , .

+2

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


All Articles