using dbus peer to peer, i.e. without external bus daemon
thiago at kde.org
Thu Mar 26 13:01:49 PDT 2009
Havoc Pennington wrote:
>On Thu, Mar 26, 2009 at 4:22 AM, Alexander Neundorf
><neundorf at eit.uni-kl.de> wrote:
>> I tried to connect to my self-made dbus server using Qt4 (address:
>> unix:path=/tmp/mydbusserver) , and it hangs in
>> In my server I receive two signal messages with interface
>> org.freedesktop.DBus, object /org/freedesktop/DBus, and member
>> NameAcquired, sender is org.freedesktop.DBus.
>> And I receive them in the moment when my Qt applications tries to
>> connect. I'm a bit confused, does the Qt application send these
>> signals ? But they say the sender is org.freedesktop.DBus.
>I can't explain that, best guess you must be somehow actually
>connecting to dbus-daemon instead of your server.
>connectToBus may well not work properly with a non-bus server, it
>likely expects the server to implement some of the bus stuff.
connectToBus expects to connect to a bus daemon.
You want the connectToPeer function, which is not implemented.
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20090326/17a8d608/attachment.pgp
More information about the dbus