[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: PATCH: DCOPServer hanging on non responding client.
From:       Waldo Bastian <bastian () kde ! org>
Date:       2001-01-26 20:20:21
[Download RAW message or body]

On Friday 26 January 2001 00:04, joerg habenicht wrote:
> On Thu, 25 Jan 2001, Waldo Bastian wrote:
> > For the short term, this solution will prevent the dcopserver hanging on
> > non-responding clients, but I'm not happy with it for the long term,
> > because it makes it impossible to send data larger than 64Kb. And I don't
> > want to go down in history as the one who said 64Kb ought to be enough
> > for everyone :-)
> >
> > A possible long term solution would be to implement queuing in DCOP and
> > to send large messages in parts. I have no idea how we can detect that we
> > will be able to write a message of a certain size though. (E.g. select
> > tells us that we can write, but I don't think it specifies in any way how
> > much we will be able to write.)
>
> Well, this leads to some sort of transport protocol,
> streaming the data in 64k chunks.
> Shouldn't be that hard.
>
> Could someone point me to the source code ?

The dcopserver can be found in kdelibs/dcop. It uses libICE and an 
implementation of libICE can be found in kdelibs/dcop/ICE but it should be 
noted that we use the version of libICE that is provided by the system which 
may or may not be exactly the same.

Cheers,
Waldo
-- 
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic