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
0
votes
1 answer

Indy Sockets gradually slows down on hyper threaded machines

This is a long shot but maybe someone has an idea. I am using IndySockets, a library that extends .Net sockets classes in a multithreaded (20-25 threads) web crawling application. The app is run on a number of different servers, some of which have…
0
votes
0 answers

Compiled with a different version - Delphi, Indy 10 Issue

I have a very stressful problem in my project, I do not have much experience with Delphi to allow me to solve this myself. I'm trying to send a JSON to a service that will return another JSON. After I implemented the code for this my project does…
Manzini
  • 1,671
  • 2
  • 9
  • 15
0
votes
0 answers

"Post" via indy fails, while "Get" is working, using xe2, https and windows authentication

i already tried to find an answer here on nearly at any place at the web, but didn't find an answer that helped me out here - so i'm trying it here with this question: i have to to get some information from a server in a domain, using https via indy…
ttkpi
  • 1
  • 1
0
votes
1 answer

Periodic Access Violations when setting up a TIdHTTP object

I'm struggling with periodic access violations when setting up a TIdHTTP object. I'm using the following code: TIdHTTP* httpClient = new TIdHTTP(Application->MainForm); httpClient->HTTPOptions = (httpClient->HTTPOptions >>…
0
votes
2 answers

How to use IdThreadComponent in c++ builder

How to use IdThreadComponent with TIdyTCPServer in c++ builder???? Please help!
Suhrob Samiev
  • 1,528
  • 1
  • 25
  • 57
0
votes
0 answers

TIdSMTP: Could Not Load SSL Library

Windows 7 64 bit Delphi 5 Indy 10.6.2.5499 I know most of us have nervous ticking with this problem. But in any case I lost some hours already without result to try different ssl dlls one by one. In every case I get my favorite "Could Not Load…
mad
  • 1,029
  • 3
  • 17
  • 38
0
votes
1 answer

Do I need to explicitly fold header lines in TidHttp ver 10.5498?

Please can someone (Remy Lebeau?) clarify the point on header line folding in TidHTTP? My server expects headers to be folded if the line exceeds 998 characters, which one of mine certainly will. Among many other posts discussing this I saw this one…
user2834566
  • 775
  • 9
  • 22
0
votes
0 answers

Delphi XE5 TRESTRequest getting ssl3_read_bytes:sslv3 alert handshake failure

I'm getting the error REST request failed! Error connecting with SSL. error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure using the TREST components, here is the example code -- full unit code below seems to be specific to…
Dangas56
  • 849
  • 1
  • 8
  • 32
0
votes
1 answer

TIDTCPClient EAccessViolation

I have a RFID reader that comes with a RFTT service. I start the service and try to access it with TidTCPClient, but I get an access violation as soon I try to connect. Read of Address 00000000 As soon it click connect I get the message. unit…
Kim HJ
  • 1,183
  • 2
  • 11
  • 37
0
votes
0 answers

Indy HttpClient.Post gives range check error when built for release but not in debug - why?

I am using Delphi 2009, Indy ver 10.5498 together with libeay32.dll and ssleay32.dll from the zip file openssl-1.0.2r-i386-win32 at https://indy.fulgan.com/SSL/. Range checking is turned on in project options and not turned off anywhere. Using the…
user2834566
  • 775
  • 9
  • 22
0
votes
1 answer

How to correctly make Indy TIdHttp use SSL libraries from a specific folder?

I am successfully using Indy's TIdHttp (version 10 with Delphi 2009) to send data over https using the code below var HttpClient: TIdHttp; IdSSLIOHandler: TIdSSLIOHandlerSocketOpenSSL; FormData : TIdMultiPartFormDataStream; begin FormData…
user2834566
  • 775
  • 9
  • 22
0
votes
1 answer

Can TIndyHTTP's POST method be called multiple times very quickly?

I'm using Indy ver 10.5498 to post some multipart/form data including an attached file to an api. My code is adapted from that supplied to my by Remy in this post, with protocol error handling taken from here. The code I now have works well and I…
user2834566
  • 775
  • 9
  • 22
0
votes
0 answers

EIdOSSLUnderlyingCryptoError - SSL3_GET_RECORD: wrong version number (TLS 1.2)

I use Delphi 2010, newest Indy 10.6.2 (5498) and OpenSSL 1.0.2r (from indy.fulgan.com) and I am not able to force it to use TLS 1.2. When I open a page mentioned later, it returns EIdOSSLUnderlyingCryptoError: Error connecting with SSL.…
smooty86
  • 1,112
  • 7
  • 13
0
votes
1 answer

Indy TIdImap4.UIDRetrieve method!

Here is my little code: curMessage:TIdMessage; tidImap: TIdIMAP4; ... tidImap.UIDRetrieve('123', curMessage); That works fine! Now when i try to read curMessage.Body Then it is empty sometimes. I've understand that it is empty when message…
Peacelyk
  • 1,126
  • 4
  • 24
  • 48
0
votes
2 answers

How to get response string from Indy udp server?

I'm trying to create a simple text exchange between Indy UDP client and server in C++ Builder 10.3.1. This is the code I use: void __fastcall TForm1::Button1Click(TObject *Sender) { IdUDPClient1->Send("Hello"); UnicodeString resp =…
Tracer
  • 2,544
  • 2
  • 23
  • 58