Re: Question about connections
Thiago Macieira <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <2009692.thQ5tKPJbI@tjmaciei-mobl4> |
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
_______________________________________________
dbus mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dbus