Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Mar : Re: FTP in Thread
| Subject: | Re: FTP in Thread |
| Posted by: | "Martin James" (mjames_falc..@dial.pipex.com) |
| Date: | Tue, 11 Apr 2006 23:50:27 |
Still looking at this but, FYI, I can reproduce exactly what you are seeing
with 9.0.14 and 9.0.18 - readTimeouts without any just cause. Adding a
sleep(0) in the client loop fixes, or at least covers up, the problem.
It's not just you :)
I, too, suspect that the problem is in the server. It's as if it has to do
something after one FTP before another will successfully start. The
sleep(0) allows this to happen on a single-processor box. My guess is that
this problem will not happen if the server/client are run on different
processors/boxes. I'm going to try that next, just to see.
Rgds,
Martin