Topic Path: Pending > TIdTCPStream.ReadString
ContentsIndexHome
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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.