Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Indy 10 und TCP Client... (https://www.delphipraxis.net/75897-indy-10-und-tcp-client.html)

Schucki 5. Sep 2006 13:31

Re: Indy 10 und TCP Client...
 
Hi,

Lösung gefunden!!! :bounce1:

Delphi-Quellcode:

procedure TfrmMain.timTcpTimer(Sender: TObject);
begin
  if not IdTCPClient.Connected then exit;
  with IdTCPClient do begin
    while not IOHandler.InputBufferIsEmpty do begin
      strlTcpRead.Add(IOHandler.Readln)
    end;

    while strlTcpRead.Count>0 do begin
      ....
      .... // Daten auswerten...
      ....
      strlTcpRead.Delete(0);
    end;
  end;
end;
Dank Euch alle, vielleicht braucht das ja auch mal einer...
Gruß Frank


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:52 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz