Indy 9 | Content | Index | Reference

EIdNoDataToRead
Hierarchy, See Also, Unit: IdTCPConnection
Exception raised when writing an empty TStream with WriteStream.

    EIdNoDataToRead = class(EIdTCPConnectionError)

Unit
IdTCPConnection
Description
EIdNoDataToRead is an EIdTCPConnectionError descendant that represents the exception raised when attempting to send an empty Stream (containing no data) using TIdTCPConnection.WriteStream. EIdNoDataToRead is raised when the length of the Indy send buffer is 0, or when the actual number of bytes available for transfer from the source stream buffer is 0.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.