Connection with dbus_bus_get

KHOA NGUYEN qa_tridang at hotmail.com
Sat Sep 20 07:33:44 PDT 2008





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 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20080920/c669c1cb/attachment.html 


More information about the dbus mailing list