Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7443843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:23:49+00:00 2026-05-29T11:23:49+00:00

I have a client/server application written in delphiXe2 using Indy TIdTCPServer and TIdTCPClient that

  • 0

I have a client/server application written in delphiXe2 using Indy TIdTCPServer and TIdTCPClient that communicates with each other on the same computer using TCP address 127.0.0.1

When i use about 1 megs per second(8 Megabit) of data everything works fine.

However when set my data at higher speed like 20megs/sec (160 Megabit), it slow down and start to behave weirdly.

Is that an usual behavior for that speed?
Also i can’t seem to find any benchmark or information of what is the maximum data transfer speed between 2 local application.

Regards

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T11:23:51+00:00Added an answer on May 29, 2026 at 11:23 am

    Perform a bandwidth test. This is what I use (I have attached the relevant server and client code). FWIW, I get around 500Mbps maximum, although there is no way I could process data that fast.

    procedure TForm1.IdTCPServer1Execute(AContext: TIdContext);
    var
      lData: TByteDynArray;
      lCaption: string;
      lMbps: Real;
      lLen: Integer;
    begin
      AContext.Connection.IoHandler.CheckForDataOnSource;
      SetLength(lData, 0);
      AContext.Connection.IoHandler.InputBuffer.ExtractToBytes(TIdBytes(lData),
                                         AContext.Connection.IoHandler.InputBuffer.Size);
      lLen := Length(lData);
      if lLen > 0 then begin
        if FStartTime = 0 then begin
          Memo1.Lines.Add(FormatDateTime('dd/mm/yyyy hh:nn:ss.zzz', CsiNow) +': Started test');
          FStartTime := CsiNow;
        end;
        Inc(FBytesReceived, lLen);
        lCaption := 'MBits Received: ' + CsiPadFloat(FBytesReceived * 1.0 / 125000, 3, 1);
        if lCaption <> FLastCaption  then begin
          Label1.Caption := lCaption;
          FLastCaption := lCaption;
        end;
        if FBytesReceived >= 12500000 then begin
          FStopTime := CsiNow;
          lMbps := 100000 / MilliSecondsBetween(FStopTime, FStartTime);
          Memo1.Lines.Add(FormatDateTime('dd/mm/yyyy hh:nn:ss.zzz', CsiNow) +
                          ': Finished test (' + CsiPadFloat(lMbps, 3, 1) + ' Mbps)');
          FBytesReceived := 0;
          FStartTime := 0;
        end
      end;
    
      CsiSleep(0);
    end;
    
    procedure TForm1.Button1Click(Sender: TObject);
    var
      lData: TByteDynArray;
      lIndex: Integer;
    begin
      IdTCPClient1.Host := Edit1.Text;
      IdTCPClient1.Connect;
      try
        SetLength(lData, 125000);
        for lIndex := 1 to 125000 do
          lData[lIndex - 1] := Ord('a');
        for lIndex := 1 to 100 do
          IdTCPClient1.IoHandler.Write(TIdBytes(lData));
      finally
        IdTCPClient1.Disconnect;
      end;
    end;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a client-server application written in Java using CORBA for the communication. The
I have a client/server application that communicates with .Net remoting. I need my clients
I have written a server/client application using sockets in C# for .NET 3.5. I'm
I have a client/server application written in C#/.NET 3.5 that I want to do
I am adapting a little rmi client-server application. I have written several things :
I have a client server application that sends XML over TCP/IP from client to
I have a client-server application that uses .net remoting. The clients are in a
I have a Client/Server application written Delphi. Essentially all the application is doing is
I have a network server application written in C, the listener is bound using
I have written a small client server socket application. It is a proof of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.