Function esp_idf_sys::esp_tls_get_conn_state
source ยท pub unsafe extern "C" fn esp_tls_get_conn_state(
tls: *mut esp_tls_t,
conn_state: *mut esp_tls_conn_state_t,
) -> esp_err_t
Expand description
@brief Gets the connection state for the esp_tls session
@param[in] tls handle to esp_tls context
@param[out] conn_state pointer to the connection state value.
@return - ESP_OK on success and value of sockfd for the tls connection shall updated withthe provided value - ESP_ERR_INVALID_ARG (Invalid arguments)