I'm a little stuck here. I have a Server B that is written in C# .NET and communicates with a device I want to work with (e.g. debug it). Then there is Server A (written in C) which communicates with my Eclipse. These two things are no problem at all.
The Problem begins at the point where I need to communicate from Server A to Server B. I can not use the DLLs from B in A since they are written under .NET Framework 2.0 and using those inside C code seems to be rather complicated.
My question is: What are my options here?
There is not a lot of complex data that would have to be transmitted. All of it could easily be transmitted bytewise since the data will be either a string, a number or binary data (executable).
I was thinking about creating a simple protocol which sends byte commands from Server to Server over TCP but I am not sure if this is a good solution.
This is a fundamental design decision since both projects are quite large. I have to decide with care. Any suggestions?
Thanks! (Feel free to edit the tags of this question if you have better ones for me)