Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Umstellung Indy9/Indy10 (TIdTCPClient.readln) (https://www.delphipraxis.net/147180-umstellung-indy9-indy10-tidtcpclient-readln.html)

DeddyH 3. Feb 2010 09:02


Umstellung Indy9/Indy10 (TIdTCPClient.readln)
 
Kurze Frage: ich habe hier einen Source, der anscheinend auf Indy9 aufsetzt.
Zitat:

Delphi-Quellcode:
s := IdTCPClient.ReadLn( #$A, 5000, (128 * 1024 ));

In Indy10 gibt es anscheinend keine Readln-Methode mehr im TIdTCPClient. Weiß gerade jemand aus dem Kopf, was man ändern müsste, bevor ich mich auf die große Suche begebe?

Danke im Voraus.

Astat 3. Feb 2010 09:08

Re: Umstellung Indy9/Indy10 (TIdTCPClient.readln)
 
Zitat:

Zitat von DeddyH
Kurze Frage: ich habe hier einen Source, der anscheinend auf Indy9 aufsetzt.
Zitat:

Delphi-Quellcode:
s := IdTCPClient.ReadLn( #$A, 5000, (128 * 1024 ));

In Indy10 gibt es anscheinend keine Readln-Methode mehr im TIdTCPClient. Weiß gerade jemand aus dem Kopf, was man ändern müsste, bevor ich mich auf die große Suche begebe?

Danke im Voraus.

Hallo DeddyH,

Delphi-Quellcode:
IdTCPClient.Socket.ReadLn()
lg. Astat

DeddyH 3. Feb 2010 09:13

Re: Umstellung Indy9/Indy10 (TIdTCPClient.readln)
 
Prompte Antwort :thumb: Wir probieren es einmal aus, ich gebe dann Feedback.

Danke schonmal.

[edit] Tut! Ich weiß schon, wieso ich so gern in diesem Forum bin ;) [/edit]


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:44 Uhr.

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