Question about connections
Thiago Macieira
thiago at kde.org
Thu Oct 15 21:10:23 PDT 2015
On Thursday 15 October 2015 18:08:11 Rick Mann wrote:
> After reading the spec, and looking at the API docs, I'm still a bit
> confused about the most basic task of connecting two apps.
>
> I have two apps that I want to talk to each other. In the past, I've
> successfully connected them via dbus_bus_get(DBUS_BUS_SESSION, &err), on
> Debian and OS X.
>
> But in practice, only these two apps will ever talk to each other. Can I
> make that connection without dbus-daemon running?
Yes.
> If so, what's the right
> set of calls to get the DBusConnection object on each side? Thanks.
One creates a DBusServer and the other uses dbus_connection_open.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
More information about the dbus
mailing list