That sounds evil, depending on the code in Client1BusyTimeout() you will slow down performance. And what happens on downloading a big file or when data is received very slow? It's much better to write GetTickCount() into a variable anytime somethingis received and let a timer check this variable, for example, every 5 seconds. ____
The Client1BusyTimeout() routine does get a tick count and tests if the time is greater than the timeout value. The routine also calls Application.Process messages. Are you thinking that a Timer is a better way to go? If the HttpCli doesn't have a timeout implemented, how does one ever get a status code of 408. I can't assign HttpCli1.StatusCode := 408; I will test to see if I really needed to disable TCP chimney. Thank you. -- 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