Read is an overriden LongInt function that implements stream input from the associated socket handle in
Connection. Read calls
TIdTCPConnection.ReadBuffer using the input parameters ABuffer and ACount to perform input of values from the
Connection. Values read from the socket
Connection are stored in the ABuffer input parameter. The return value for Read is the actual number of bytes read from the
Connection and stored in the input variable ACount.