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
0 answers

Using TIdHTTPServer thread safe in D2005

This question has been asked very often and I've spent hours reading, trying, testing with no result. I guess it has to do with my older 2005 version. Below is the code I tried after reading a post in the Embarcadero forum answered by Remy…
D2005_MdK
  • 1
  • 2
0
votes
0 answers

TidHTTP Request works with Fiddler running, but not when closed

Making a simple request to a password generator API (makemeapassword.ligos.net). If I run it through the Fiddler proxy, it runs fine. When I close fiddler and turn off the proxy, it doesn't work. Error returned is "Socket Error # 10054 Connection…
FLDelphi
  • 508
  • 7
  • 20
0
votes
1 answer

Form blocked while HTTP post does not finish

I am sending JSON to an endpoint and I have a problem. The execution works, but the form gets stuck until HTTP.Post() ends, after it has finished the screen releases for use. I'm sure I'm doing something wrong. Here is the button action that sends…
Manzini
  • 1,671
  • 2
  • 9
  • 15
0
votes
0 answers

idUdpServer send message to multiple

I know how to send a message from server ABinding.SendTo(ABinding.PeerIP, ABinding.PeerPort, 'jhon|zack|randy', ABinding.IPVersion); to one , but how to do it to several? Need to create an array: record ip data and port, or have built-in…
rustam
  • 21
  • 4
0
votes
1 answer

Delphi: How can I perform a PUT/GET over HTTPS with client certificate in a PKSC12 container with password

I've found an Indy example: Id_HandlerSocket := TIdSSLIOHandlerSocketOpenSSL.Create( IdHTTP1 ); cert := 'zugang.pem'; Id_HandlerSocket.SSLOptions.CertFile := cert; (* PEM contain both CERT and Key *) Id_HandlerSocket.SSLOptions.KeyFile :=…
0
votes
1 answer

Is Indy FTP client caching?

Looking at corrupted files on FTP server I think about verifying files uploaded with TIdFtp.Put by downloading them just after upload and comparing byte-to byte. I think that TIdFtp may be theoretically caching data and return it from cache instead…
Paul
  • 25,812
  • 38
  • 124
  • 247
0
votes
1 answer

firemonkey idTcp and Record

Good afternoon. The client sends a message to the server, and the server responds by sending two messages to the client. The client sees these messages, but the memo records the very first value sent by the server. Prompt in what the reason Server…
rustam
  • 21
  • 4
0
votes
0 answers

TidFTP downloads different size

In my Delphi application, i try to download a file with TidFTP client (Indy 10, Delphi 2007) but the result file is bigger than the original. I have read other posts about it and about transferType but still i haven't solve the problem. The code…
JimPapas
  • 715
  • 2
  • 12
  • 27
0
votes
1 answer

SHA-512 returns NULL even using 2 DLLs (ssleay32.dll and libeay32.dll)

My Environment: C++ Builder XE4 using VCL component Indy 10.6.0.4975 I was studying to use MD5, SHA-1, and SHA-2s. Unit1.cpp //--------------------------------------------------------------------------- #include #pragma hdrstop #include…
sevenOfNine
  • 1,509
  • 16
  • 37
0
votes
0 answers

How disconnect TIdTcpClient Properly

How disconnect TidTcpClient from TIdTcpServer properly? i mean if i call Disconnect on client side i receive 10054 connection reset by peer on server onexception event. if i call disconnect on AContext (using queue / OnExecute event) server return…
0
votes
0 answers

Connection between two Indy UDP Servers

I'm using RAD Studio 10.2 with two instances of TIdUDPServer from Indy 10. I run my program on Windows 10 and check the counters of sent and received packages, but there are no packages received. At the same time, I see through Wireshark that they…
SET
  • 55
  • 7
0
votes
0 answers

Prevent TIdTcpServer Stuck Connections

how are you? I come here ask for a solution, how prevent TIdTcpServer stuck connections? Version of indy 10.6.2.5341 and Rad Studio 10.1 Berlin On both images show the number of connections on TIdTcpServer, these numbers are retrieved from this…
0
votes
0 answers

Indy MappedTCPPort headers

I want to make a request on url http://127.0.0.1:8080 I am using a TidMappedPortTCP component (indy 10) On execute i have the follow code procedure TForm1.IdMappedPortTCP1Execute(AContext: TIdContext); var MyHeaders:Tstringlist; begin try …
icinema gr
  • 310
  • 3
  • 14
0
votes
1 answer

TIdFTP corrupted file after upload

Recently we changed the company that hosts our domain from Windows to Linux hosting. Since then, any file i upload using TIdFTP is uploaded without errors, but when i try to download this file, the file is corrupted. For instance, i upload a ZIP…
delphirules
  • 6,443
  • 17
  • 59
  • 108
0
votes
0 answers

Get Indy multi charset

i writed few day ago the question about "Delphi & Indy & utf8" who you are help me to resolved the charset codified in utf8, but sometime the same routine is used to access other www with other charset. the routine is this (in delphi xe6): var …
ondertol
  • 67
  • 2
  • 10
1 2 3
99
100