Re: Check whether a dbus caller is still alive
David Llewellyn-Jones <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <[email protected]> |
On 02/10/17 09:16, Lawrence D'Oliveiro wrote: > On Mon, 2 Oct 2017 09:01:23 +0100, David Llewellyn-Jones wrote: > >> However, it was your reply above which solved it for me, by suggesting >> to "get the sender unique name from the message". I'd been trying to >> get the name from the *connection*, when I should have been focussing >> on the *message*. > > Remember the connection is to the D-Bus Daemon, not to the bus peer. > All messages to or from other peers can go and come over a single > connection. Yes, that's exactly what I was missing. It may seem obvious if you're already familiar, but to a newb like me there are a lot of concepts which the APIs can make it easy to gloss over. David -- Website: http://www.flypig.co.uk _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus