readstream

Why does IOHandler.ReadStream blocks thread when client connects to server in Indy?

Hi, Today I faced a weird behavior using Indy 10 (shipped with Delphi 2010). Here is the problem: Suppose we have a IdTcpClient in our client, and a IdTcpServer in our server app, and this code in OnExecute event-handler for our IdTcpServer: procedure TForm1.IdTCPServer1Execute(AContext: TIdContext); var AStream: TStringStream; S:...