Re: [twsocket] [QUESTION] THttpCli and SocketError

2006-02-17 Thread Wilfried Mestdagh
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 OnErr

Re: [twsocket] [QUESTION] THttpCli and SocketError

2006-02-17 Thread Guillaume MAISON
Dod a écrit : > Hello Guillaume, > > of course change the "WSocketServer" I used (I just did a copy/paste > from one of my code). > Thanks ! i'll check it when i test my application :) regards, -- Guillaume MAISON - [EMAIL PROTECTED] 83, Cours Victor Hugo 47000 AGEN Tél : 05 53 87 91 48 - F

Re: [twsocket] [QUESTION] THttpCli and SocketError

2006-02-17 Thread Dod
Hello Guillaume, of course change the "WSocketServer" I used (I just did a copy/paste from one of my code). GM> Hi all, GM> is there a way when, on ThttpCli.OnSocketError is triggered, to know what was the error ? GM> i mean is it an error from TCP/IP stack, a system error (like no handle, etc

Re: [twsocket] [QUESTION] THttpCli and SocketError

2006-02-17 Thread Dod
Hello Guillaume, inttostr(WSocketServer.LastError)+' '+WSocketErrorDesc(WSocketServer.LastError) should work. GM> Hi all, GM> is there a way when, on ThttpCli.OnSocketError is triggered, to know what was the error ? GM> i mean is it an error from TCP/IP stack, a system error (like no handle,

[twsocket] [QUESTION] THttpCli and SocketError

2006-02-17 Thread Guillaume MAISON
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 -