[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:       joerg habenicht <j.habenicht () stud ! uni-hannover ! de>
Date:       2001-01-26 8:04:29
[Download RAW message or body]

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 ?
> 
> We might be able to implement our own IceWrite function though, it seems to 
> simply write out the data to the socket with this rather wierd 
> _IceTransWrite() function (Which is some obscure define (?))
> 
> Cheers,
> Waldo



cu,
Joerg

-- 
THE full automatic planets host
:-)                            http://www.planetsserver.com

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GE/CS/IT d- s+:- a- C++ ULS+++>++++ P++ L+++>++++$ 
E W++ N+(+++) !o? !K? w--(---) !O(++) !M !PS !PE !Y? PGP+ 
t-- 5-- X-- tv+ b++ DI+() D-(+) G>+ e++>+++ h+(*) r% y? UF
------END GEEK CODE BLOCK------
"Man sollte das Leben nicht so ernst nehmen, 
 Du überlebt es sowieso nicht."

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

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