And what is the StatusCode value ?
What is the reason phrase ?

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


----- Original Message ----- 
From: "Jean-Paul Passama" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Saturday, December 16, 2006 4:13 PM
Subject: Re: [twsocket] How to uses many THttpCli simultaneously ?


> The error appears on DoRequestSync, at this line :
>
> if (FStatusCode >= 400) and (FStatusCode <> 401) and (FStatusCode <>
> 407) then
>         raise EHttpException.Create(FReasonPhrase, FStatusCode);
>
> Thanks
> JP
>
> Francois PIETTE a écrit :
>>> Each THttpCli has a different Tag (1 to 5) to allow the
>>> RequestDone know the THttpCli sender;
>>
>> No need to use the tag property. The "Sender" argument in each event 
>> handler
>> is there just for that purpose: to know who triggered the event ! Of 
>> course
>> you must cast sender argument to the approprioate type (here THttpCli).
>>
>>> ... and I get a Violation access. I guess it's because all the THttpCli
>>> uses the same RequestDone procedure (the THttpCli is known by its Tag :
>>> 1 to 5).
>>
>> No problem to use the same procedure. And as stated above, use the sender
>> argument, not the tag.
>>
>> --
>> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
>> --
>> [EMAIL PROTECTED]
>> http://www.overbyte.be
>>
>>
> -- 
> 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
> 

-- 
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

Reply via email to