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

Thiago Macieira <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <2493211.fiupJsKKXR@tjmaciei-mobl4>
On Monday 23 March 2015 15:07:06 David Zeuthen wrote:
> Hi,
> 
> On Wed, Mar 18, 2015 at 5:35 PM, Thiago Macieira <[email protected]> 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

_______________________________________________
dbus mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.