arvind.ayyangar at gmail.com
Tue Dec 26 07:45:02 PST 2006
here is something i just figured out..
i was using
msg = dbus_connection_pop_message(conn);
to read the message. Since this pops the message the other application
does not recieve it.
The source code of dbus suggests the following
msg =dbus_connection_borrow_message (conn);
and the checking if this is the signal i want, i do
to remove it.
The latter doesnt work, is there something else I need to do?
> I am using dbus signals to communicate between applications.
> I have an application which calls a funcion with a parameter.
> Depending on the parameter, the function sends a signal to a
> particular connection.
> i.e if parameter == 1 , send to org.freedesktop.temp1
> else to org.freedesktop.temp2
> This however does not work. the signals seem to be sent correctly, but
> only one of the two applications receive them.
> I am using the system bus, so cant use dbus-monitor.
> Is it possible to something like this?
> ARviND AyyangaR
More information about the dbus