Function esp_idf_sys::esp_tls_get_conn_sockfd
source ยท pub unsafe extern "C" fn esp_tls_get_conn_sockfd(
tls: *mut esp_tls_t,
sockfd: *mut c_int,
) -> esp_err_t
Expand description
@brief Returns the connection socket file descriptor from esp_tls session
@param[in] tls handle to esp_tls context
@param[out] sockfd int pointer to sockfd value.
@return - ESP_OK on success and value of sockfd will be updated with socket file descriptor for connection - ESP_ERR_INVALID_ARG if (tls == NULL || sockfd == NULL)