openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_DoHandShake()

int32_t HITLS_DoHandShake ( HITLS_Ctx ctx)

The client/server starts handshake.

注意
In the IDLE state, the HITLS_SetEndPoint must be called first.
参数
ctx[IN] TLS connection handle
返回值
HITLS_SUCCESS,obtainingthe status succeeded. For details about other error codes, see hitls_error.h.