Hello, I have had the same experience with threaded-ICS. Make sure you create the THttpCli in Execute() and destruct there as well.
Regards, SZ ----- Original Message ----- From: "Me" <[EMAIL PROTECTED]> To: "ICS support mailing" <[email protected]> Sent: Saturday, December 17, 2005 8:33 PM Subject: Re: [twsocket]HttpCli and "Socket operation on non-socket" ---- Wiadomość Oryginalna ---- Od: Francois PIETTE <[EMAIL PROTECTED]> Do: ICS support mailing <[email protected]> Data: Sat, 17 Dec 2005 18:26:32 +0100 Temat: Re: [twsocket] HttpCli and "Socket operation on non-socket" > > Ok. I made basic proxy checker... 5xHTTPCli that tries to connect > > through one of the proxies (with GetAsync method) from list and > > analizes if result is ok. But... I noticed that the more HTTPCli i > > use the more frequent "Socket operation on non-socket" error > > occures. Why is that? What is this error? > > This error is when you pass a handle to a winsock function, but the handle > is not one opened with winsock. This should _never_ occur with ICS. It may > happend when you have corruption somewhere in you data or code and close > handles which are socket handles, then they became invalid and then you get > the error. > I dont do anything except using ICS HTTPCLI :-) So even if this should _never_ occur, it DOES :-) -- 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
