Skype and DBus: should my client library act as a server?

Thiago Macieira thiago at kde.org
Mon Mar 23 13:59:04 PDT 2015


On Monday 23 March 2015 15:07:06 David Zeuthen wrote:
> Hi,
> 
> On Wed, Mar 18, 2015 at 5:35 PM, Thiago Macieira <thiago at kde.org> wrote:
> > Reality is that it's actually easier to write your own socket and
> > marshalling
> > code.
> 
> True that but don't forget the authentication code (EXTERNAL, etc.)! I
> think it was the most challenging part to get right (and to test) when I
> wrote GDBus. The ironic thing is that we don't really need any of it (and I
> think kdbus does largely away with it) since 99% of the time we're using
> Unix domain sockets + peer credentials...

That's actually surprising. The exchange is very simple, so it shouldn't have 
taken you so long.

Were you trying to implement the full state machine and SASL integration?
-- 
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