Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Apr : Re: writestream() problem..
| Subject: | Re: writestream() problem.. |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Sun, 1 Apr 2007 16:53:43 |
"mustafa korkmaz" <mustafakorkmaz@gmail.com> wrote in message
news:4610239c$1@newsgroups.borland.com...
> sorry I couldnt understand exactly..I think I couldnt
> explain clearly..Writer thread like below..
Once again, you are sending the stream only if it has 10000 or more
bytes stored it. What happens if you have fewer bytes in it? It
won't be sent at all. You did not show the code that is actually
filling in the Stream. What happens if you take out the check for
10000 bytes and just send the stream as-is every time? What are you
trying to accomplish exactly by not allowing less than 10000 bytes to
be sent?
Gambit