Internet Direct (Indy)
Home
PreviousUpNext
TIdTCPStream.ReadString

Read a string data type from the socket-based stream.

string - Values read from the socket-based stream.

ReadString is an overridden string function used to read a string data type from the socket-based stream. 

ReadString uses the TIdIOHandler instance assigned in Connection to perform the physical read operation using the IOHandler for the Connection. 

ReadString calls ReadInteger to read the binary length of the string data type. ReadString calls the ReadString method in the IOHandler for the Connection to read the content for the string data type.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.