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: | Sat, 31 Mar 2007 20:06:24 |
"mustafa korkmaz" <mustafakorkmaz@gmail.com> wrote in message
news:460f0dbf$1@newsgroups.borland.com...
> Some times any user can not receive package for a long time.
> For example after 50 seconds he can receive all packages
> waiting in queue.
Then you are lilely not sending the data to that user correctly to
being with.
> 5 server programs are runing on the same machine.Each
> program is listening different tcp port.
If the servers all all doing the same thing, then you don't need 5
separate instances of the program. TIdTCPServer can listen on
multiple ports at one time.
> May each program effect to others while sending Tcp package?
No.
> if Task.Stream.size < 10000 then
Why are you doing that? You are only sending stream that are 10K or
larger. Think about it - if the user doesn't have that much outbound
data ready yet, then nothing will be sent at all.
Gambit