Function esp_idf_hal::sys::esp_tls_get_conn_sockfd
source ยท pub unsafe extern "C" fn esp_tls_get_conn_sockfd(
tls: *mut esp_tls,
sockfd: *mut i32,
) -> i32
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)