We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
查看 msgpack-rpc。这是简单且非常简单的 RPC 实现。
Look at msgpack-rpc. It's easy and very simple RPC implementation.
不完全是轻量级的,但 Dbus 是一个答案,并且它是当今大多数 Linux 发行版的标准。
Not exactly lightwieght, but Dbus is an answer and it's standard on most linux distributions these days.
我想您不需要任何花哨的框架并且可以处理简单的库调用。 linux rpc 库应该就足够了:查看联机帮助页,也许本教程。
I guess you don't want any fancy framework and can handle simple library calls. The linux rpc library should then be sufficient: See the manpage, and maybe this tutorial.
Linux 下的 SUN ONC RPC 库是一个很好的解决方案。您还可以使用rpcgen编译器来生成服务器和客户端存根。
您所要做的就是用 RPCL 语言编写 .x 并使用 rpcgen 对其进行编译。
这是我在 github 上发布的一个示例: https://github.com/issamabd/SDL-PPONG< /a>
它使用 RPC 调用通过网络连接两个 PingPong 播放器。
SUN ONC RPC library for Linux is a good solution. Also you can use the rpcgen compiler to generate server and client stubs.
All you have to do is to write an .x in the RPCL language an compile it using rpcgen.
Here is an example that I have published in github: https://github.com/issamabd/SDL-PPONG
It uses RPC calls to connect two PingPong players over the network.