openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetFlightTransmitSwitch()

int32_t HITLS_GetFlightTransmitSwitch ( const HITLS_Ctx ctx,
uint8_t *  isEnable 
)

Obtains the status of whether to send handshake information according to the flight distance.

参数
ctx[IN] TLS connection handle.
isEnable[OUT] Indicates whether to send handshake information by flight distance
返回值
HITLS_NULL_INPUT,theinput parameter pointer is NULL.
HITLS_SUCCESS,ifsuccessful.