This patchset adds another D-Bus API for attaching applications, called AttachFD. When application uses that API, it receives one end of a datagram socket pair, which it's supposed to recv() from in order to receive mesh packets, instead of wating for *MessageReceived() calls over D-Bus. This significantly reduces system load for high traffic environment (e.g. an application that subscribes to a large number of publications in a big network). Message delivery is one way only: application is still supposed to call *Send methods via D-Bus, although the socket pair is bidirectional, so it would be possible to add sending as well. Michał Lowas-Rzechonek (1): mesh: Implement AttachFD method Przemysław Fierek (1): mesh: Add documentation for AttachFD doc/mesh-api.txt | 40 +++++++++++++++ mesh/mesh.c | 12 ++++- mesh/model.c | 126 ++++++++++++++++++++++++++++++++++++++++++++++- mesh/node.c | 83 ++++++++++++++++++++++++++++++- mesh/node.h | 4 +- 5 files changed, 259 insertions(+), 6 deletions(-) -- 2.20.1