Hello Guillaume,

I was just looking at it but see notes below.
 HttpCli.CtrlSocket.LastError;

But THttpCli assigns an event handler to FCtrlSocket.OnError. So if
nobody assign something to OnSocketError then the error is lost.
TWSocket will not raise an exception if something is assigned to
OnError.

So in my opinion this code should be changed that if nobody assigns an
event handler to OnSocketError that the OnError of the FCtrlSocket is
nil with a GetOnSocketError and SetOnSocket error in the property
declaration.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

Friday, February 17, 2006, 11:59, Guillaume MAISON wrote:

> Hi all,

> is there a way when, on ThttpCli.OnSocketError is triggered, to know what was 
> the error ?
> i mean is it an error from TCP/IP stack, a system error (like no handle, 
> etc...)

> Thanks,

> Regards,

> -- 

> Guillaume MAISON - [EMAIL PROTECTED]
> 83, Cours Victor Hugo
> 47000 AGEN
> Tél : 05 53 87 91 48 - Fax : 05 53 68 73 50
> e-mail : [EMAIL PROTECTED] - Web : http://nauteus.com


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