Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Apr : Re: writestream() problem..

www.cryer.info
Managed Newsgroup Archive

Re: writestream() problem..

Subject:Re: writestream() problem..
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Sun, 1 Apr 2007 12:03:59

"mustafa korkmaz" <mustafakorkmaz@gmail.com> wrote in message
news:460f5daa$1@newsgroups.borland.com...

> my stream does not be greater than 10 K.This line is not importand.
> I added this line for testing. Importand packages are not greater
> than 20 bytes.

That is my point.  The code you showed is not sending small packets at
all.  It is waiting for the stream to reach its max size before
sending it.  So if your stream is not reaching its max size for
awhile, the user won't receive anything because the server is not
sending anything.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive