GithubHelp home page GithubHelp logo

kishoredbn / dbus-process-to-process Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bigoconstant/dbus-process-to-process

0.0 1.0 0.0 3.72 MB

CMake 8.22% Dockerfile 21.61% C++ 46.55% Shell 7.73% Go 15.90%

dbus-process-to-process's Introduction

Messaging with Dbus in go and C++

Curious how dbus could be used for process to process communication,

This is a minimal example of a project with three applications. A client and server in C++ and a client in golang.

The Server listens on dbus for a message. ./build/server. The client sends a message to the server, ./build/client/client "hello world".

The server will now print hello world and tell the client thanks.

Building

Requirements

clang or gcc, make, cmake,and sdbus-cpp which is used as a high level dbus library.

Intructions

for detailed build instructions checkout the dockerfile which details how the project is built on arch linux.

Run

To test I suggest testing in docker-compose.

  1. docker-compose build
  2. in one terminal, docker-compose up
  3. In another terminal, docker-compose exec dbuscpp /bin/bash -c "source .env && ./build/client 'hello world'" to test the C++ client or for golang docker-compose exec dbuscpp /bin/bash -c "source .env && ./go/src/client/dbus 'hello world'"

dbus-process-to-process's People

Contributors

bigoconstant avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.