Connection with dbus_bus_get
Colin Walters
walters at verbum.org
Sat Sep 20 11:09:48 PDT 2008
One connection to the bus is sufficient; you can send a reply to other
processes through the connection to the bus.
On Sat, Sep 20, 2008 at 10:33 AM, KHOA NGUYEN <qa_tridang at hotmail.com> wrote:
>
> Hello,
>
>
>
> I am new to D-Bus. In my application, I have one receive and many sends of
> signals. I do not know if I should open the connection for each receive and
> send or one connection should be sufficient for all receive / sends of
>
> a process.
>
> I do it with the following code:
>
> ...
>
> DBusConnection *conn;
>
> ....
>
> conn = dbus_bus_get(DBUS_BUS_SESSION, &err);
>
> dbus_connection_setup_with_g_main (conn, NULL);
> ....
>
>
>
> Do you have an idea for this?
>
> Thank you and bests regards
>
>
>
> Vydaman
>
> ________________________________
> Explore the seven wonders of the world Learn more!
> ________________________________
> Connect to the next generation of MSN Messenger Get it now!
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
>
>
More information about the dbus
mailing list