C
BOOL TCPStartSSLClient( TCP_SOCKET hTCP, BYTE* host );
Description
This function escalates the current connection to an SSL secured connection by initiating an SSL client handshake.
Preconditions
TCP is initialized and hTCP is already connected.
Parameters
Parameters |
Description |
hTCP |
TCP connection to secure |
host |
Expected host name on certificate (currently ignored) |
Return Values
Return Values |
Description |
TRUE |
an SSL connection was initiated |
FALSE |
Insufficient SSL resources (stubs) were available |
Remarks
The host parameter is currently ignored and is not validated.