Questions tagged [indy]

Questions related to the Indy (Internet Direct) open source networking library for Delphi, C++Builder, and FreePascal development environments. Not to be confused with the HyperLedger Indy distributed ledger/utility library.

Indy (Internet Direct) is an open source networking library for Delphi, C++Builder, and FreePascal development environments. It supports client and server implementations of TCP, UDP and RAW sockets, as well as over 100 higher level protocols. Some of the popular supported protocols include: SMTP, POP3, IMAP, NNTP, HTTP.

Indy's home page: http://www.indyproject.org


Do not confuse Indy (Internet Direct) with the HyperLedger Indy distributed ledger/utility library for HyperLedger. Please do not use the tag for topics related to HyperLedger Indy, use the tag instead.

2074 questions
7
votes
1 answer

Why does the TIdMailBox.UnseenMsgs property return 0 value?

I'm trying to get the number of unread messages of my IMAP mailbox by using TIdIMAP4 from Indy 10.6.0.4975. The problem is that the UnseenMsgs property returns 0 even when there are some unread messages in the accessed mailbox. This is the code I…
JO SeongGng
  • 567
  • 3
  • 18
7
votes
3 answers

"1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number call:" on Indy

I have a web app that makes frequent TIdHTTP calls to the Google Analytics API (around 25,000-50,000 per day). Every so often calls to the API fail with the error message in the subject line (not often - less than 1 out of 1000 times). I have…
M Schenkel
  • 6,294
  • 12
  • 62
  • 107
7
votes
1 answer

Delphi: Why does IdHTTP.ConnectTimeout make requests slower?

I discovered that when setting the ConnectTimeoout property for a TIdHTTP component, it makes the requests (GET and POST) become about 120ms slower? Why is this, and can I avoid/bypass this somehow? Env: D2010 with shipped Indy components, all…
K.Sandell
  • 1,369
  • 10
  • 19
7
votes
1 answer

Sample Application - Amazon S3 / Indy / Delphi

I am looking for an example application to store objects to Amazon S3 using INDY components. Any help much appreciated. Phillip
7
votes
2 answers

Access violation using THTTPGet with OpenSSL under iOS after upgrading to XE7 update 1

After upgrading to Delphi XE7 update 1 I am seeing the following error when connecting to a server using TIdHTTP with TIdSSLIOHandlerSocketOpenSSL. --------------------------- Debugger Exception Notification --------------------------- Project…
norgepaul
  • 6,013
  • 4
  • 43
  • 76
7
votes
1 answer

idhttp indy post, do request (parameters) with utf-8

I'm trying to post a request, in utf-8 however the server is getting it in Ascii. Tried the TstringList format of post. Tried the stream format Tried forcing the TStringStream to have UTF8 encoding. Tried updating indy to the xe5 indy Here is an…
none
  • 4,669
  • 14
  • 62
  • 102
7
votes
4 answers

How to statically link Indy SSL files?

How can I statically link Indy OpenSLL files? AFAIK only ICS allows this but for some weird reason Indy doesn't. Neither does it provide .obj files? This will allow me to avoid any dependency on the dll's.
Eric Santos
  • 131
  • 2
  • 11
7
votes
1 answer

Using INDY 10 SMTP with Office365

I'm not familar with the INDY SMTP component. I want to send a mail with INDY and Office 365. Here is a nice topic which helped me a lot: What do the SMTP Indy component security and authentication properties do? But I did not figured out how to use…
Timestop
  • 73
  • 1
  • 2
  • 8
7
votes
2 answers

How do I receive push notifications with Indy?

I have a device that uses restful Web services and I have used its request/response functionality whereby I send it a command via HTTP GET and it responds with the appropriate XML. I now need to use the device's pus notifications. I have tried the…
MarkZA
  • 73
  • 2
  • 8
7
votes
2 answers

Delphi - MemoryStream or FileStream

I am downloading an EXE file from internet using Indy (idHTTP), and I can use memorystream or filestream to save it to disk, but I really do not know if there is any difference between them (maybe in the result structure of the file?). I could't…
Guybrush
  • 1,575
  • 2
  • 27
  • 51
7
votes
3 answers

Delphi XE4 Indy compatibility issue between TBytes and TidBytes

Today I try to compile my XE3 project in XE4. First problem that I face is with Indy's FTCPClient.Socket.ReadBytes() method. Before it was accepting TBytes type, now it insists on TidBytes. Definitions: TIdBytes = array of Byte; TBytes, Im not sure…
Mehmet Fide
  • 1,643
  • 1
  • 20
  • 35
7
votes
2 answers

Can I check the Indy version installed?

I need to use the latest Indy component library version. Can I get the library version by some source code command or any other trick to make sure I'm using the correct lib. I know I'm using the indy....160.bpl - this is what my Delphi XE2 says…
user1769184
  • 1,571
  • 1
  • 19
  • 44
7
votes
1 answer

How can I update HTML pages dynamically with Indy HTTP server using jQuery and "Long Polling"?

I have read the article Simple Long Polling Example with JavaScript and jQuery. The paragraph "Long Polling - An Efficient Server-Push Technique" explains that the Long Polling technique combines the best-case traditional polling with persistent…
mjn
  • 36,362
  • 28
  • 176
  • 378
7
votes
1 answer

How to trace raw request and response content of TIdHttp

I implemented same code (to post a form) using delphi and python. The python code works perfectly, but delphi code fails. In python, I can simply write httplib2.debuglevel=4 to see what content has actually been sent to the server. but I have no…
stanleyxu2005
  • 8,081
  • 14
  • 59
  • 94
7
votes
2 answers

Delphi TIdhttp Post JSON?

Anybody getting JSON to work with TIdHttp ? The PHP always return NULL in the $_POST, am I doing anything wrong ? Delphi source: http := TIdHttp.Create(nil); http.HandleRedirects := True; http.ReadTimeout := 5000; http.Request.ContentType :=…
Atlas
  • 1,353
  • 5
  • 19
  • 32