Check whether a dbus caller is still alive

David Llewellyn-Jones david at flypig.co.uk
Mon Oct 2 08:34:15 UTC 2017


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


More information about the dbus mailing list