WORD SSLRxRecord( TCP_SOCKET hTCP, BYTE sslStubID );
Reads at most one SSL Record header from the TCP stream and determines what to do with the rest of the data. If not all of the data is available for the record, then the function returns and future call(s) to SSLRxRecord() will process the remaining data until the end of the record is reached. If this call process data from a past record, the next record will not be started until the next call.
The specified SSL stub is initialized and the TCP socket is connected.
Parameters |
Description |
hTCP |
The TCP socket from which to read |
id |
The active SSL stub ID |
WORD indicating the number of data bytes there were decrypted but left in the stream.
SSL record headers, MAC footers, and symetric cipher block padding (if any) will be extracted from the TCP stream by this function. Data will be decrypted but left in the stream.