Reputation: 8162
In a project I have one master-application (C#) that controls several child-applications.
Those child-applications will be written in C#, Java, C++ and python. And, which makes it more difficult, there can be multiple instances of the same child-applications.
This can be illustrated like:
Right now I thought of NamedPipes
, but this will not work with multiple instances, because they would all listen to the same pipe (at the moment I have no way of telling the child-process which pipename to use).
Is there an easy and lightweight way of one way communication which is not dependent on platform (or at least available in the languages mentioned above)?
Upvotes: 0
Views: 462
Reputation: 13278
You can use sockets, which is pretty much language agnostic, and will even work great if you decide to move your process to another machine.
You can also take a look at ZeroMQ
Upvotes: 1
Reputation: 3353
How about usual Client/server approach? You can choose (or implement) the protocol yourself depending on your requirements.
Upvotes: 1