Eidsocketerror Socket Error 11001
Contents |
Ansicht Themen-Optionen Indy Socket Error #11001 Host not fond Ein Thema von Logic · begonnen am 13. Dez 2010 · letzter Beitrag vom socket error 11001 host not found windows 7 14. Dez 2010 Antwort Logic Registriert seit: 28. Nov 2003 132 socket error 11001 error number 0x800ccc0d Beiträge Delphi 7 Personal #1 Indy Socket Error #11001 Host not fond 13. Dez socket error 11001 h1z1 2010, 23:16 Hallo, ich habe seit heute eine sehr seltsame Situation. Alle meine Projekte in welchen ich den Indy Client verwende werden folgende Fehlermeldung: Project Project1.exe
Socket Error 11001 Error Number 0x800ccc0d Outlook Express
raised exception class EIdSocketError with message 'Socket Error # 11001 Host not found.'. Process stopped. Use Step or Run to continue. Ich kenne den Fehler. Dieser kommt nur dann, wenn ich z.b. eine falsche URL hinterlegt habe. Nur stimmen die URLs, habe ja im SourceCode nichts verändert. Selbst folgender Code geht nicht mehr: socket error 11001 hatası showmessage(IdHTTP1.Get('http://www.google.de')); Jetzt kommt aber das Kuriose, wenn ich die kompilierte exe manuell öffne, also nicht aus Delphi mit F9, kommt der Fehler nicht und die showmessage kommt mit dem HTML Code von google.de. Ich erinnere mich schon mal sowas in der Art gehabt zu haben, aber nicht mehr wie ich das gelöst habe. Hat jemand eine Idee? Zitat Logic Öffentliches Profil ansehen Besuche die Homepage von Logic! Mehr Beiträge von Logic finden fkerber (CodeLib-Manager) Registriert seit: 9. Jul 2003 Ort: Saarlouis 6.695 Beiträge Delphi XE Professional #2 AW: Indy Socket Error #11001 Host not fond 14. Dez 2010, 07:17 Hi, das klingt ein bisschen nach den Problemen, die in den letzten Tagen häufiger aufgetreten sind - hast du zufällig Antivir installiert? Externe Exception C0000235 LG, Frederic Frederic Kerber Zitat fkerber Öffentliches Profil ansehen Besuche die Homepage von fkerber! Mehr Beiträge von fkerber finden Logic Registriert seit: 28. Nov 2003 132 Beiträge Delphi 7 Pers
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and socket error 11001 jane policies of this site About Us Learn more about Stack Overflow the company
Socket Error 11001 Delphi
Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a http://www.delphipraxis.net/156754-indy-socket-error-11001-host-not-fond.html minute: Sign up EIdSocketError in release mode up vote 3 down vote favorite 2 I'm maintaining a SOAP Server (with a TWebModule containing THTTPSoapDispatcher, THTTPSoapPascalInvoker and TWSDLHTMLPublish) in delphi-XE2 and i can't find a way to handle an EIDSocketError ( not in debug mode !). I'm not even sure where it's raised from... I know that it's raised after a user http://stackoverflow.com/questions/8387604/eidsocketerror-in-release-mode disconnects while waiting for a response from the server (request timeout or network lost on client side). It's certainly raised by the IdHTTPWebBrokerBridge component, so I tried to handle it from myIdHTTPWebBrokerBridge.OnException without success. I read here and there that it where raised but avoidable in debug mode, but can't find a clue on how to handle it in release mode or even prevent it from from being raised... i can provide code on requested part of my application if needed. MyService.exe program MyService; {$APPTYPE GUI} {$R 'documents.res' 'documents.rc'} uses Forms, Sysutils, WebReq, IdHTTPWebBrokerBridge, UFMyService in 'Unit\UFMyService.pas' {FMyService}, UWMMyService in 'Unit\UWMMyService.pas' {WMMyService: TWebModule}, UDMMyService in 'Unit\UDMMyService.pas' {DMMyService: TDataModule}, UIMyService in 'Unit\UIMyService.pas', UCMyService in 'Unit\UCMyService.pas', superobject in 'Unit\superobject.pas', superxmlparser in 'Unit\superxmlparser.pas', {$R *.res} const se = '/'; begin if WebRequestHandler <> nil then WebRequestHandler.WebModuleClass := WebModuleClass; Application.Initialize; Application.Title := 'My Service'; try Application.CreateForm(TFMyService, FMyService); Application.Run; Except on E:Exception do begin Log('!! Exception au lancement : '+E.Message); Application.Terminate; end; end; end. then in UFMyService.pas unit UFMyService; interface uses (...) type TFMyService = class(TForm) ApplicationEvents1: TApplicationEvents; procedure FormCreate(Sender: TObject); procedure ApplicationEvents1Exception(Sender: TObject; E: Exception); (...) priva
try to connect using the 'connect' method, the Windows Dial-up Connection dialog pops-up. When I cancel this dialog, Indy raises an exception EIdSocketError http://www.delphigroups.info/2/4b/192004.html with message 'Socket Error # 11001'. So far so good... But when I try to reconnect with the 'connect' method, the Windows Dial-up dialog doesn't pop up anymore and I get the exception right away. The only way to get the Dial-up dialog is to restart the application. Does anyone know how to 'reset' Indy, so that after a failed attempt to socket error connect, Indy will retry to open a connection? If this is a 'known problem' that has been resolved in Indy 8.1, please let me know how safe this beta is... Thanks, - daniel -- If the only tool you have is a hammer, all problems look like nails. Doychin Bondzhe Delphi Developer Sat, 03 Jan 2004 13:11:36 GMT Re:Indy: Socket Error socket error 11001 #11001 In some areas 8.1 is much stable then 8.0. Thre is still some preblems with some of the new features. -- Doychin Bondzhev - Team Indy doyc...@dsoft-bg.com DdSoft-Bulgaria http://www.dsoft-bg.com Quote"Daniel Rutten"