开发者

high-level IPC library needed

开发者 https://www.devze.com 2023-01-12 13:47 出处:网络
Suppose that we have four process A, B, C, and D.Usually, B-D send packets to A and get a reply from A.(The packet represents a simple command, so it is very small)However, sometimes, \'A\' broadcasts

Suppose that we have four process A, B, C, and D. Usually, B-D send packets to A and get a reply from A. (The packet represents a simple command, so it is very small) However, sometimes, 'A' broadcasts 开发者_StackOverflow社区an event, so that all of B-D should be notified.

At first glance, My mind came up with 'dbus'. Unfortunately, we need a open source library that is not GPLed. (LGPL or BSD should be nice)

Is there any good library to recommend to me?

The target will be various linux devices (kernel 2.6.x and glibc 2.8.x) without X window system.

Thanks.


Actually, the D-Bus daemon and reference client-side implementation is dual licensed, with the AFL version 2.1 offered as an alternative to the GPL. So perhaps it is suitable for your uses after all.

0

精彩评论

暂无评论...
验证码 换一张
取 消