V
V
Victor2014-02-26 08:06:38
linux
Victor, 2014-02-26 08:06:38

What is the best Linux C++ messaging library to use between programs?

There are a number of running instances of the program with different input parameters. I want to write a controller program to control the operation of these instances.
What is better to use?
upd:
I'm aware of some names like dbus and boost.interprocess, but that's about it. I would like to hear some explanations for the proposed options.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
R
RPG, 2014-02-26
@victor1234

D-Bus is a universal messaging system. It is higher level than sockets, it supports the structure of interfaces and objects. In D-Bus, you can use both classical methods (calling an object method, as in OOP), and the concept of signals, as in Qt. Moreover, D-Bus does not depend on the language used: having written an implementation of the interface in Python, it can be called via D-Bus from C ++ and vice versa. D-Bus is now the de facto standard for messaging in Linux, if only for that reason it's worth starting to learn.

A
Alex May, 2014-02-26
@alexmay

Sockets. Have been used for a very long time.

F
fart, 2014-02-26
@fart

Dig here IPC .

N
nekipelov, 2014-02-26
@nekipelov

Take a look at ZeroMQ

N
nicolausYes, 2014-02-26
@nicolausYes

ZeroMQ + Protobuf

Z
zxmd, 2014-02-26
@zxmd

I am for sockets. It's kinda classic :)

A
Artem, 2014-02-26
@Properrr

Looking for what purposes and what are the requirements for convenience / performance.
corba?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question