Questions tagged [indy10]

Indy 10 is a reference to a specific version of Indy.

Indy 10 is a reference to a specific version of Indy.

801 questions
20
votes
6 answers

Indy TCP Client/Server with the client acting as a server

How can Indy's TIdTCPClient and TIdTCPServer be used in the following scenario: Client ---------- initate connection -----------> Server ... Client <---------------command------------------- Server Client …
jpfollenius
  • 16,456
  • 10
  • 90
  • 156
18
votes
7 answers

Best practice: Keep TCP/IP connection open or close it after each transfer?

My Server-App uses a TIdTCPServer, several Client apps use TIdTCPClients to connect to the server (all computers are in the same LAN). Some of the clients only need to contact the server every couple of minutes, others once every second and one…
Holgerwa
  • 3,430
  • 9
  • 42
  • 50
17
votes
1 answer

Step by step upgrade of Indy 10 in Delphi 2009

Can someone help in telling the details on how to uninstall Indy 10 and install the latest build? I found it http://indy.fulgan.com/ZIP/IndyTiburon.zip There is a similar question, but not a satisfying answer, just some comments from the user who…
UnDiUdin
  • 14,924
  • 39
  • 151
  • 249
17
votes
3 answers

How to use a dll outside of the system path

I made an application that uses the openssl dlls (libeay32.dll and ssleay32.dll). It is indy using them, I don't call the dlls directly. The simplest workaround i found to avoid an installer (i just delpoy an exe and i am ok with this approach) is…
UnDiUdin
  • 14,924
  • 39
  • 151
  • 249
16
votes
1 answer

How do I use OAuth 2.0 to send Gmail from Indy?

The following code successfully sends an e-mail using Google's Gmail servers, but only after lowering the Google account security settings to "Allow less secure apps." The code offered below (originally from Remy LeBeau) does not incorporate OAuth…
ImageBASE
  • 163
  • 4
14
votes
2 answers

TCP connection timeout is 20 or 21 seconds on *some* PCs when set to 500ms

I was given 10 new PCs, all (supposedly) with Windows 7 Pro freshly installed and nothing else done to them. I have a program, coded in Delphi XE2, using Indy 10 components for the networking. I set the "connect timeout" and "read timeout"…
Mawg says reinstate Monica
  • 38,334
  • 103
  • 306
  • 551
12
votes
1 answer

Using Indy 10 IdHTTP with TLS 1.2

Im using Delphi XE2 with Indy 10.5.8.0 Currently i need to change a connection to one of our server to use only TLS 1.2, at the moment we are using TLS 1.0 As handler for IdHTTP , IdSSLIOHandlerSocketOpenSSL is being used. I tried changing the…
vexen
  • 345
  • 1
  • 4
  • 20
12
votes
2 answers

How to check URL with IdHTTP?

How can I check for the target URL for specific response code like 200 OK without Indy throwing all sorts of exceptions out. ConnectionTimeout,ConnectionClosedGracefully, etc... For example if URL is not proper or its host cannot be found or cannot…
Santos Oliveira
  • 497
  • 1
  • 8
  • 18
11
votes
1 answer

How to make Indy OpenSSL compatible with most servers

I use the following code to setup SSLHandler for POP3/SMTP sending/receiving app: IdSSLHandler->SSLOptions->Mode = sslmClient; IdSSLHandler->SSLOptions->Method = slvSSLv23; IdSSLHandler->SSLOptions->SSLVersions = TIdSSLVersions() <<…
Coder12345
  • 3,431
  • 3
  • 33
  • 73
10
votes
1 answer

How to configure Indy v10 to support IPv4 + IPv6?

With the following code I can get the content of an IPv4 website: uses IdHttp; IdHttp1 := TIdHttp.Create(nil); try Result := IdHttp1.Get('http://www.heise.de/') finally IdHttp1.Free; end; but when I try to connect to an IPv6 website I get…
Casady
  • 1,426
  • 3
  • 19
  • 39
10
votes
1 answer

Adding custom header to TIdHttp request, header value has commas

I'm using Delphi XE2 and Indy 10.5.8.0. I have an instance of TIdHttp and I need to add a custom header to the request. The header value has commas in it so it's getting parsed automatically into multiple headers. I don't want it to do that. I need…
Sam M
  • 4,136
  • 4
  • 29
  • 42
8
votes
1 answer

SSL support for smtp.live.com and TIdSmtp (Indy, Delphi)

I am trying to connect to smtp.live.com to send emails (live.com supports free pop3/smtp since 2009 apparently but this is totally news for me). Here is what happens when I try to connect to smtp.live.com port 587: Method sslvSSLv2 - timeout…
Coder12345
  • 3,431
  • 3
  • 33
  • 73
8
votes
1 answer

Delphi/Indy 10 - Sending a text or HTML email with attachments adds an attachment for the text (body) itself

For years, we've been using Indy 10 to send emails (text, not HTML) with one or more PDF attached to it and we never had any problem. Recently (maybe since Tokyo release 3 ?), our customers noticed that the text part of the email (body) is now an…
Phanault
  • 81
  • 1
  • 3
8
votes
4 answers

Is it possible to use Indy 10.5.8.0 in Delphi XE and DataSnap?

The case I'm trying to update the INDY to the latest version for my Delphi XE (Update 1), so I downloaded the latest INDY10 file (Indy_4545.zip) from indy.fulgan.com/ZIP. The packages compiles successfully and I can now even see the new version…
jachguate
  • 16,976
  • 3
  • 57
  • 98
8
votes
3 answers

Is Indy for FreePascal stable?

I'm starting to play with FreePascal/Lazarus and there appears to be an Indy port available. Is this a recent port and is it stable enough to use in production use? (Standard HTTP post/get client type work, and basic TCPIP server side.) Or, perhaps…
Darian Miller
  • 7,808
  • 3
  • 43
  • 62
1
2 3
53 54