This event is used to read the data from the socket.
Declaration
[C++]
not implemented;
not implemented;
Parameters
- Buffer - the buffer that should be filled with data which were read from the socket by the application.
- MaxSize - the length of the buffer. Specifies the maximum number of bytes that can be written to the buffer.
- Written - the amount of data that were placed to the buffer.
Description
This event is fired by TElSSLClient when it needs to read some data from the socket. Usually this is caused by the call to DataAvailable. The application should fill the buffer Buffer with the amount of data no more than Length bytes and return the number of bytes written in Received parameter.