What happens if you do a telnet session to 192.168.1.1 op port 80 on the same machine as where you try the httptst on ? Does it get connected ?
Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Friday, March 31, 2006, 08:22, Jazzy Jeff wrote: > I just downloaded the ICS ver 5 a few mins ago, I compiled it under > BDS2006 using bcb2006 with the updated patch. I compiled the example > httptst to see if it could go to a webpage that required a username > and password. When i ran the program (get button), this is the error > message that i get. > RequestDone Error = 11001 > GET Failed ! > StatusCode = 404 > ReasonPhrase = can't resolve hostname to IP address > //------------------- code -------------------------// > HttpCli1->URL = "http://192.168.1.1/main.htm; > HttpCli1->Password = "pass"; HttpCli1->>Username = "user"; > //------------------- code -------------------------// > even if i try a google address to se if it works, i still get the same error. It seems to connect using telnet, but it immediately loses the connection. I decided to look around since I really want to see this work. I ended up trying another httpclient from clevercomponents, that one seemed to work on the first try. I'll just use that one instead. I hate to have to resort to another program, since I have been using ICS for a few years now. Thanks again for the help. Jason --------------------------------- Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. --------------------------------- New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. -- 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