openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetFlightTransmitSwitch()

int32_t HITLS_SetFlightTransmitSwitch ( HITLS_Ctx ctx,
uint8_t  isEnable 
)

Sets whether to send handshake messages by flight distance.

参数
ctx[IN/OUT] TLS connection handle.
isEnable[IN] Indicates whether to enable handshake information sending by flight distance. The value 0 indicates disable, other values indicate enable.
返回值
HITLS_NULL_INPUT,theinput parameter pointer is NULL.
HITLS_SUCCESS,ifsuccessful.