how to get the DBusConnection for dbus_connection_dispatch from a DBusWatch of a DBusServer ?

Alexander Neundorf neundorf at eit.uni-kl.de
Thu Jun 18 23:49:43 PDT 2009


Hi,

On Thursday 18 June 2009 16:54:24 Havoc Pennington wrote:
...
> No, it's just whether to poll. For example, if there are no messages
> to send in the outgoing queue, the poll for socket writability will be
> disabled.
>
> > So, I have now these two watches, one is on, one is off, but I don't get
> > another event, although the client tries to send a message.
>
> Maybe the write watch is enabled and when you handle it, dbus will
> write out the message.
>
> > I also don't get the DispatchStateChanged() callback.
>
> Have any messages arrived?

Should, at least the client sends one.
How can I find out ?
dbus-monitor doesn't work since I'm trying to do peer-to-peer.
Are there any environment variables to enable debug output ?

Alex


More information about the dbus mailing list