Delphi Socket Error 10060
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss
Delphi Socket Error 10060 Connection Timed Out
the workings and policies of this site About Us Learn more about socket error 10060 delphi https Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow delphi socket server 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
Socket Error 10060 Windows Live Mail
other. Join them; it only takes a minute: Sign up TIdHTTP returns “Socket Error # 10060'#$D#$A'Connection timed out.” up vote 1 down vote favorite 1 I'm new to Delphi. To communicate with WebService, I added two components, TIdHTTP and TIdSSLIOHandlerSocketOpenSSL for SSL(https). When getting response from server, it doesn't work and returns "Socket Error # 10060'#$D#$A'Connection timed out."
Socket Error 10060 Ftp
What should i do? below is my code. procedure TForm1.btnRequestClick(Sender: TObject); var s: string; lHTTP: TIdHTTP; lIOHandler: TIdSSLIOHandlerSocketOpenSSL; begin lHTTP := TIdHTTP.Create(nil); lIOHandler := TIdSSLIOHandlerSocketOpenSSL.Create(nil); try lHTTP.IOHandler := lIOHandler; lHTTP.HandleRedirects := True; s := lHTTP.Get('https://esta.cbp.dhs.gov/esta/'); Memo.Text := s; finally lHTTP.Free; lIOHandler.Free; end; end; Thanks in advance. sockets delphi ssl delphi-xe5 idhttp share|improve this question edited Oct 14 '14 at 19:16 bummi 22.7k83462 asked Sep 25 '14 at 1:44 Kevin Son 1016 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote The code you showed works fine as-is when I try it in the latest version of Indy. The returned String contains the site's HTML, as expected. Indy uses infinite timeouts for its ConnectTimeout and ReadTimeout properties by default, so the only way you can be getting that error is if the OS itself is timing out when trying to connect to the server. Make sure your machine has a network route to reach esta.cbp.dhs.gov. Can you load the URL in a web browser? share|improve this answer answered Se
here for a quick overview of the site Help Center Detailed socket error 10060 error number 0x800ccc0e answers to any questions you might have Meta Discuss the
Socket Error 10060 Connection Timed Out Windows 7
workings and policies of this site About Us Learn more about Stack Overflow the company socket error 10060 msdn Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join http://stackoverflow.com/questions/26029184/tidhttp-returns-socket-error-10060daconnection-timed-out 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 minute: Sign up Indy10 + OpenSSL: send email code stopped working on Windows 8 up vote 3 down vote favorite Code stopped working on http://stackoverflow.com/questions/14756882/indy10-openssl-send-email-code-stopped-working-on-windows-8 Windows 8. It works fine on Windows7, Windows XP... I found a workaround for this issue: start application in Windows compatibility mode: Windows XP (Service Pack 3) - code working. Code not working if Windows compatibility mode is Windows 7. I run application as Administrator. Have already tried to switch off antivirus and firewall. I can send email with the same parameters using another smtp client, e.g. .Net SmtpClient. The problem is reproduced on different Windows 8 computers(home, office). I created simple test application. Code is written on Delphi XE, Indy 10.5.7, OpenSSL 1.0.1.3 dlls are placed in test.exe folder. Any ideas? Code: SSLHandler.MaxLineAction := maException; SSLHandler.SSLOptions.Method := sslvTLSv1; SSLHandler.SSLOptions.Mode := sslmUnassigned; SSLHandler.SSLOptions.VerifyMode := []; SSLHandler.SSLOptions.VerifyDepth := 0; SSLHandler.OnStatusInfo := IdSSLIOHandlerSocketOpenSSL1StatusInfo; SMTP.IOHandler := SSLHandler; SMTP.Host := 'smtp.gmail.com'; SMTP.Port := 587; SMTP.UseTLS := utUseExplicitTLS; SMTP.Username := FromAddress; SMTP.Password := AuthPassword; Email.From.Address := FromAddress; Email.Recipients.EmailAddresses := ToAddress; Email.Su
98 & ME Support Windows Servers Microsoft Office Support Internet Browsers and Email Internet Explorer & Edge Forum Mozilla / Firefox Browsers Other Browsers Email Alternative Computing Linux Support Mac Support Other Operating Systems Hardware Support Overclocking Motherboards, http://www.techsupportforum.com/forums/f10/resolved-socket-error-10060-a-169774.html Bios & CPU Hard Drive Support Removable Media Drives RAM & Power Supply Sound Cards Case Mod Driver Support Video Card Support Printer Support Laptop Support Building Other Hardware Support Networking Forum Networking Support Modems / http://www.unidev.com.br/index.php?/topic/40063-email-com-indy-socket-error-10060/ Cable / DSL / Satellite Cabling & Network Cards Protocols & Routing File & Application Sharing Security & Firewalls The IT Pro Certification & Career Programming Gaming Forum PC Gaming Support Game Installation Support Console socket error Gaming Support Online/Network Gaming Support Mods & Maps Gaming Discussion Design Forum Web Design & Dev Graphic Design/Multimedia Web Serving & Management Design Discussion & FAQ Website Design Counsel Smart Devices Apple iOS Android OS Blackberry/RIM OS Palm WebOS Windows Mobile Other Mobile Tech Support Articles Apple Certification Gaming General Hardware Internet Linux Networking Photography Security Software Tips & Tricks Windows Spyware 1st Steps Rules Tech Support Forum > socket error 10060 Microsoft Support > Windows XP Support [RESOLVED]socket error 10060 User Name Remember Me? Password Site Map Posting Help Register Rules Today's Posts Search Site Map Home Forum Rules Members List Contact Us Community Links Pictures & Albums Members List Search Forums Show Threads Show Posts Tag Search Advanced Search Search Site / Google View Posts New Posts Your Posts Go to Page... [RESOLVED]socket error 10060 This is a discussion on [RESOLVED]socket error 10060 within the Windows XP Support forums, part of the Tech Support Forum category. after three hours of talking to my isp provider for my mothers computer i still could not solve this problem. Page 1 of 2 1 2 > Thread Tools Search this Thread 07-24-2007, 10:47 PM #1 ccstud Registered Member Join Date: Mar 2007 Posts: 90 OS: xp after three hours of talking to my isp provider for my mothers computer i still could not solve this problem. the isp is onewest.net i cant seem to log onto the internet the internet is connected. when ever i try and use outlook express i get this error the connection to the server has failed. account:'mail.onewest.net' , server:'relay.onewest.net' protocol: smtp, port: 25, secure(ssl) No, socket error: 10060, error number: 0x800cccoe i tired al
New Content Bem vindo à Unidev Registre para ter acesso a todos os recursos do site. Uma vez registrado e logado, você poderá criar tópicos, postar em tópicos já existentes, gerenciar seu perfil e muito mais. Se você já tem uma conta, faça login aqui - ou então crie aqui uma conta agora mesmo! Javascript Disabled Detected You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality. Email com Indy - Socket error #10060 - Started by douglasms , Mar 27 2008 12:34 Page 1 of 2 1 2 Next Please log in to reply 20 replies to this topic #1 douglasms Posted 27 março 2008 - 12:34 douglasms Novato Membro 20 posts LocationBrasil Boa tarde, Estou com um problema para enviar emails pelo delphi. Quando tento enviar um email, o erro "Socket error #10060" aparece. Mas esse erro só ocorre em uma certa máquina. Em outras que o programa foi testado tudo funcionou. Alguem sabe o que pode ser ? Obrigado. Back to top Report #2 lordzero Posted 27 março 2008 - 12:42 lordzero Moderador(a) Membro 747 posts algum firewall ou outro software pode estar impedindo a identificação resultando na falha ou algo do tipo. Aquele que tem a resposta e não a compreende é como aquele que nunca teve a resposta. Back to top Report #3 douglasms Posted 27 março 2008 - 12:47 douglasms Novato Membro 20 posts LocationBrasil já desativei os firewalls... que outro tipo de software poderia ser ? Back to top Report #4 douglasms Posted 27 março 2008 - 12:49 douglasms Novato Membro 20 posts LocationBrasil a só uma coisa ... o erro completo é "Socket error #10060. Connection timed out" Back to top Report #5 lordzero Posted 27 março 2008 - 01:34 lordzero Moderador(a) Membro 747 posts já desativei os firewalls... que outro tipo de software poderia ser ?talvez antivÃrusa só uma coisa ... o erro completo é "Socket error #10060. Connection timed out"isso ocorre quando o tempo de limite é excedido ou seja quando a conexão falha. Aquele que tem a resposta e não a compreende é como aquele que nunca teve a resposta. Back to top Report #6 douglasms Posted 27 março 2008 - 02:35 douglasms Novato Membro 20 posts LocationBrasil o antivÃrus também está desativado... estranho... Back to top Report #7 lordzero Posted 27 março 2008 - 02:38 lordzero Moderador(a) Membro 747 posts o antivÃrus também está desativado...estranho...teoricamemte o software q funciona em um tem que funcionar em outro geralmente isso pode ser um "erro"de configuração...qual a versão do sistema operacional? Aquele que tem a resposta e não a compreende é como aquele que nunca teve a resposta. Back to top Report #