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

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
Visit our website at

Reply via email to