[Kde-pim] Question on Akonadi data connection
Tobias Koenig
tokoe at kde.org
Mon Jul 30 20:23:23 BST 2007
On Mon, Jul 30, 2007 at 09:01:23PM +0200, Kevin Krammer wrote:
> Hi Tobias,
Hi Kevin,
> > > 2) The socket address should rather be an abtract unix socket, e.g. like
> > > D-Bus Currently, if the akonadiserver crashed, it leaves the socket
> > > around and cannot listen on it anymore
> >
> > We just have to unlink the unix socket file on a restart of akonadi.
> > That's a know issue with unix domain sockets.
>
> The current hardcoded socket path is a problem (besides being hardcoded) if
> the file system hosting $HOME is not capable of having sockets.
>
> In a KDE application we would use KStandardDirs to locate a suitable socket
> directory, abstract Unix sockets avoid this problem alltogether.
Ahh, you mean KLocalSocket::AbstractUnixSocket with abstract unix
sockets :) Well, using them makes sense indeed :)
> I am not sure how far the D-Bus Windows people have come sofar since they have
> the same issue.
> I though that maybe using the same address format as D-Bus might give us
> better flexibility in the long term.
Yepp
Ciao,
Tobias
--
Separate politics from religion and economy!
The Council of the European Union is an undemocratic and illegal institution!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070730/649d1dcc/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list