Any open source C / C ++ libraries for creating RPC over pipes / internal Linux sockets?

I am looking for a lightweight open source library / framework, preferably written in C / C ++ (it does not need to support x languages ​​and should be easy to understand and use), which can be used to create RPC on top of internal Linux sockets or pipes. In other words, I'm looking for an RPC feature that can be run on some IPC Linux engines.

thanks

+7
source share
4 answers

Take a look at msgpack-rpc . This is a simple and easy implementation of RPC.

+2
source

Not entirely bright, but Dbus is the answer and standard on most Linux distributions these days.

+2
source

I assume that you do not need any fancy frames and they can handle simple library calls. Then the linux rpc library will suffice: See the man page , and perhaps this tutorial .

+1
source

SUN ONC RPC Library for Linux is a good solution. You can also use the rpcgen compiler to create server and client stubs.

All you have to do is write .x in RPCL, compile it with rpcgen .

Here is an example I posted on github: https://github.com/issamabd/SDL-PPONG

It uses RPC calls to connect two PingPong players over the network.

0
source

All Articles