Board index » delphi » Debugge-Exception: Socket Error # 11001?
asker
Delphi Developer |
Debugge-Exception: Socket Error # 11001?2003-07-31 08:50:58 PM delphi281 Hi, this is my first small own created internetprogram: procedure TForm1.SpeedButton1Click(Sender: TObject); var HTMLstring : string; begin with IdHTTP1 do begin host := 'www.pop.com/'; port := 80; HTMLstring := ConnectAndGetAll; Try // still nothing finally Disconnect; end; end; But it doesn't work. Always appears an (De{*word*81}-)Exception which says: 'Socket Error # 11001.... host not found' Sometimes the exception also says only: Socket Error # 11004 - with no further comment. Where could be the mistake? Second Question: If i got this answered HTML-string finally (so i hope anyway *g*), how i can show the contens like in an explorerwindow. I only have D7Personal and the Indy-Components to solve this task. Thanks in advance asker |