I've been looking at the FTPServ1 sample app and I don't quite understand the worker thread part of the Getprocessing routine
Why is the data sent in the OnTerminate event rather than the execute method ?

The idea is to have the FTP server trigger some lengthy processing (here a simple 10 sec sleep for the demo, but could be a very long database query) to produce some data in response to a ftp get. This shows that the server keep servicing other clients while processing take place in a thread.

The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)

To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to