Fastream Technologies wrote: > Do you think the code here is correct?: I think so. This code is only ever used with synchronous (blocking) methods. Synchronous methods should never be mixed with asynchronous methods, and if you use the synchronous methods do not call subsequent methods from within the event handlers but when the synchronous method actually returned like this:
if not HttpCli1.Get then //error else HttpCli1.Head; With asynchronous methods you can safely call the next asynchronous method from OnRequestDone event handler. -- Arno Garrels -- 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