Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Jan : Re: Throttling...

www.cryer.info
Managed Newsgroup Archive

Re: Throttling...

Subject:Re: Throttling...
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Tue, 16 Jan 2007 16:32:05

"Turboz" <turboz@turboz.moved.in> wrote in message
news:45ad51fe@newsgroups.borland.com...

> So if the client has throttled it's download speed, how does that
> affect the incoming data from the server?

Indy uses blocking sockts.  If the client is throttling its reading,
then unread data will build up inside the socket, and the server will
be blocked from writing new data as fast because it has to wait for
the socket to clear up.  The slower the client reads, the slower the
server can write.

> I would assume that there would be some sort of buffer which is full
> until the client takes it and presumably the server writes no more
data
> until the buffer is empty?

Exactly.


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive