openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_SetQuietShutdown()

int32_t HITLS_CFG_SetQuietShutdown ( HITLS_Config config,
int32_t  mode 
)

Set the quiet disconnection mode.

参数
config[IN] TLS link configuration
mode[IN] Mode type. The value 0 indicates that the quiet disconnection mode is disabled, and the value 1 indicates that the quiet disconnection mode is enabled.
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.