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
6
votes
4 answers

HTTP continuous packeted stream with Indy

I have a JSON-RPC service which for one of the requests returns a continuous stream of JSON objects. I.e. : {id:'1'} {id:'2'} //30 minutes of no data {id:'3'} //... Of course, there's no Content-Length because the stream is endless. I'm using…
himself
  • 4,806
  • 2
  • 27
  • 43
6
votes
1 answer

Indy 10 TCP server

After a lot of searching I thought Indy TCP server would be the best to use on Instant messenger server I am working on. The only issue I am facing right now is broadcasting and forwarding message to other connected client, sending back response to…
Junaid Noor
  • 474
  • 9
  • 24
6
votes
1 answer

Using Indy Server's multiple bindings as separate sockets?

I'm still getting used to Indy, being a multi-threaded socket system with vast capabilities. One of the big things I've seen is how a server socket can have a number of different bindings. For example, you could have 3 bindings for 3 ports on the…
Jerry Dodge
  • 26,858
  • 31
  • 155
  • 327
5
votes
2 answers

Indy TCPClient and rogue byte in InputBuffer

I am using the following few lines of code to write and read from an external Modem/Router (aka device) via IP. TCPClient.IOHandler.Write(MsgStr); TCPClient.IOHandler.InputBuffer.Clear; TCPClient.IOHandler.ReadBytes(Buffer, 10, True); MsgStr is a…
Jason
  • 2,572
  • 3
  • 34
  • 41
5
votes
1 answer

Indy TCPServer doesn't receive all packages from TCPClient when sending packages too frequently

I have a problem with Indy TCP connection. I use Turbo Delphi 2006 with Indy 10. I want to send multiple TCP packages from idTCPClient to idTCPServer. It works finely, when I want to send only one package, or I insert a sleep(100) command between…
hunyadym
  • 2,213
  • 25
  • 39
5
votes
1 answer

Incorrect boundary string in multipart/mixed message

I'm using Delphi 2006 to create and send an email message with an attachment in a personal-use-only application. I send the message with an instance of TIdSMTP, and then also put a copy into a specific IMAP folder with an instance of TIdIMAP4. This…
pejurgenson
  • 53
  • 1
  • 4
5
votes
3 answers

How to receive emails using indy 10 and delphi 7 with the file attachment?

How to receive emails using indy 10 and delphi 7 with the file attachment?
kapil sharma
  • 51
  • 1
  • 2
5
votes
1 answer

Dynamically making indy use TLSv1.2

GitHub has stopped supporting TLS v1.0 and v1.1 (https://githubengineering.com/crypto-deprecation-notice/), so my code no longer wants to download from it. I have checked and it seems I need to make Indy use TLS v1.2, as stated here: Using Indy 10…
Adriaan
  • 806
  • 7
  • 24
5
votes
2 answers

Check unread messages with Indy

I'm doing just for fun an unread messages checker application in Delphi. I'm using Indy 10. I can connect with Gmail and can retrieve all the messages but I'm facing a problem here: I cannot tell if a message is already read or not. There is a flag…
Averroes
  • 4,168
  • 6
  • 50
  • 63
5
votes
3 answers

indy GET dowloading speed

Welcome, I have to create caption with information about downloading speed in my application using indy http get compontent. In my mind i found simple solution. At onwork event i will get actual progress of downloading (size) and compare it with…
marc
  • 2,963
  • 7
  • 24
  • 25
5
votes
4 answers

EIdOSSLUnderlyingCryptoError Exception

I am using Indy (IdHTTP, OpenSSL). I use this simple code to download a page var IdHTTP: TIdHTTP; begin IdHTTP:=TIdHTTP.Create; try IdHTTP.Get('https://ezfile.ch/?m=help&a=tos'); finally IdHTTP.Free; end; end; It…
smooty86
  • 1,112
  • 7
  • 13
5
votes
3 answers

IDFTP DirExists and MakeDir

I am using Indy IDFTP to make a directory. I need to find a reliable way to determine if a directory exists and if it does not exist, to call MakeDir. I have tried the following code but an exception did not occur when List was called so MakeDir…
Bill
  • 2,993
  • 5
  • 37
  • 71
5
votes
3 answers

Delphi indy10 http server and ExtJS form submit

I have a problem I don't know how to solve. I have an Indy10 HTTP server. I have used both Indy9 and Indy10 HTTP servers in many applications and never had any problems. But now I am using Indy10 HTTP server with ExtJS javascript RAI framework. The…
Runner
  • 6,073
  • 26
  • 38
5
votes
1 answer

Indy10 Readln and ByteEncoding

I would like to use AContext.Connection.IOHandler.ReadLn in Indy10 on my IdTcpServer but I don't know how to use the ByteEncoding Parameter. Does the client have to send a WideString or AnsiString?
Ben
  • 3,380
  • 2
  • 44
  • 98
5
votes
1 answer

How can I download a huge file via TIdHTTP?

I use this code to download small files: Var ms:TMemoryStream; begin ms:=TMemoryStream.Create; Idhttp1.get('http://mydomain.com/myfile.zip',ms); ms.SaveToFile('myfile.zip'); ms.Free; end; But file is saved in RAM before storing to disk,…
Red October
  • 689
  • 2
  • 12
  • 31
1 2
3
53 54