[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: DBUS protocol on unix pipes?
From:       Thiago Macieira <thiago.macieira () trolltech ! com>
Date:       2006-06-09 19:26:57
Message-ID: 200606092126.57945.thiago.macieira () trolltech ! com
[Download RAW message or body]


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

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic