Hello SZ,

> It gives no exception but throws ESocketError just after DNSLookup which is
> successful.

Do you mean ESocketException ?
What is the error ?

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

Wednesday, November 30, 2005, 15:21, Fastream Technologies wrote:

> Hello,

> I chose the second method (THttpCli) but the below code fails in a thread:

>         HTTPClient = new THttpCli(NULL);
>         HTTPClient->MultiThreaded = true;
>         HTTPClient->FollowRelocation = false;
>         HTTPClient->NoCache = false;
>         HTTPClient->RcvdStream = NULL;
>         HTTPClient->SendStream = NULL;
> // all the events are assigned here

HTTPClient->>URL = "http://"; + targetServerIP + ":" + targetServerPort +
> FPath;

> if(FParams.Length())
>                 HTTPClient->URL += "?" + FParams;

> try
>         {
>                         HTTPClient->GetASync();
>                 }
> catch(...

> It gives no exception but throws ESocketError just after DNSLookup which is
> successful. I tried with www.intel.com and the IE works just fine from here.
> I have a proxy setting for IE but that's optional and Mozilla works without
> proxy ok. I also tried to point socketspy to intel.com and used browser to
> access localhost:8000 (the port socketspy runs on) which worked but pointing
> HTTPClient did not.

> Any help would be appreciated. I am using the November (downloaded today)
> beta of ICS with -yet- no SSL.

> Best Regards,

> SZ 


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