DBUS protocol on unix pipes?

Thiago Macieira thiago.macieira at trolltech.com
Fri Jun 9 12:26:57 PDT 2006


nf2 wrote:
>Could DBUS be used on unix stdin/stdout pipes?

Not out of the box, no. You'd need to hack support for that into the 
source code, because you need two pipes to achieve bidirectionality.

If you use a socketpair instead, you won't have this problem.

>The second question is about "streaming" large amounts of file-data with
>DBUS-one-way messages (signals). There might be a problem with flooding
>the outgoing message queue in an async system, when the receiving side
>is not picking up messages fast enough. Is there an easy way to check
>the length of this queue?

-- 
Thiago José Macieira - thiago.macieira AT trolltech.com
Trolltech AS - Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060609/e13af995/attachment.pgp


More information about the dbus mailing list