> Given you want best performance one should use the async/none-blocking > methods, however in TFtpCli each method has also a blocking (sync) > counterpart that allows you to code more like the Indy way (slow).
Indy might be slow, I really don't know, but I don't see using the sync methods in ICS provides any difference in performance to using the async versions, it's just a different way of programming (at least provided you remove or disable Sleep/MsgWaitForMultipleObjects). I use sync methods in most of my multi-tasking applications, and they work very nicely. They also make a program probably 10 times easier to develop and maintain that using async, since you don't need state flags all over the place to try and work out what you are supposed to do next in RequestDone. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be