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 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 was placed to the buffer.
Description
This event is fired by TElSSLServer 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 with the amount of data not more than MaxSize bytes and return the number of bytes written in Written parameter.