Einzelnen Beitrag anzeigen

marabu

Registriert seit: 6. Apr 2005
10.109 Beiträge
 
#2

Re: Indy 10 TidTcpServer Problem Lesen von Binärdaten vom Cl

  Alt 16. Nov 2006, 17:53
Hallo,

AllData ist vielleicht keine so gute Idee:

Indy 9 Reference : TIdConnection : AllData()
... Do not use AllData unless the protocol you are using works in this manner. Protocols which support AllData include Finger, Quote of the Day, and WhoIs.

Die etwa 8.000 Byte könnten gerade der Inhalt des ersten Pakets sein, welches du erhalten hast. Probiere doch mal ReadBuffer().

Grüße vom marabu
  Mit Zitat antworten Zitat