Thanks Francois. I took a clue from your suggestion and found the problem.
It wasn't in the IP address but was in the Proxy property. The Proxy
property of HttpCli (which was loading from an .ini file) was getting a
value from the .ini file that was stopping the connection. The bad value
was apparently being saved to the .ini file because of a typo on my part in
Expect a fancy postcard from the sunny (sometimes) Lake of the Ozarks in the
Thanks for the help,
----- Original Message -----
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" <email@example.com>
Sent: Wednesday, October 18, 2006 2:16 AM
Subject: Re: [twsocket] Problem with HttpCli
>> Project Freesale.exe raised exception class EHTTPException with
>> message 'Can't resolve hostname to IP address."
> This message means the component can't get the IP address for the hostname
> you specified in the URL. It could be a simple typo error in the URL.
> it twice. And try the URL with your favorite browser.
> You may also have been the victim of a virus. Some are killing the TCP/IP
> configuration, moving the location of config files to somewhere else and
> winsock doesn't fond them any more.
> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> [EMAIL PROTECTED]
> Author of ICS (Internet Component Suite, freeware)
> Author of MidWare (Multi-tier framework, freeware)
> ----- Original Message -----
> From: "ShowMe Software" <[EMAIL PROTECTED]>
> To: <firstname.lastname@example.org>
> Sent: Wednesday, October 18, 2006 4:08 AM
> Subject: [twsocket] Problem with HttpCli
>> Hi list,
>> I'm using Delphi 7 and I'm having a problem with the HttpCli component.
>> I've had this component in an app for several years and use it to 'get' a
>> simple file. Just recently, and out of the blue, it stopped working.
>> it first happened, I couldn't compile the application, stopping on the
>> following line:
>> TAccept = function (s: TSocket; addr: PSockAddr;
>> addrlen: PInteger): TSocket;
>> with the error message : [Error] WSOCKET.PAS(3213): Incompatible types:
>> 'sockaddr_in' and 'PSOCKADDR' [Fatal Error] EXRATE.PAS(66): Could not
>> compile used unit 'WSocket.pas'
>> I did a Google search on this error and Francois' answer was that perhaps
>> this fellow had messed up the folders in the installation or didn't have
>> correct path in the library. Francois went on to say that you had to be
>> sure you had the correct version of wsocket.pas for your Delphi version.
>> So, I downloaded the latest version of ICS (not beta), uninstalled the
>> current version of ICS and installed the new version. I did delete all
>> the ICS dcu files before reinstalling ICS. After that, I could compile
>> everything looked OK at first. But, when I run the application and the
>> attempts to 'get', I now get the following error:
>> Project Freesale.exe raised exception class EHTTPException with message
>> 'Can't resolve hostname to IP address."
>> I'm at a loss as to what's causing my problem. I haven't changed any of
>> code in my app in the area where the file get is performed. I'd be
>> if you could help me figure out where the problem is.
>> Thank You,
>> 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
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