Function esp_idf_svc::hal::sys::esp_tls_set_conn_sockfd
source ยท pub unsafe extern "C" fn esp_tls_set_conn_sockfd(
tls: *mut esp_tls,
sockfd: i32,
) -> i32
Expand description
@brief Sets the connection socket file descriptor for the esp_tls session
@param[in] tls handle to esp_tls context
@param[in] sockfd sockfd value to set.
@return - ESP_OK on success and value of sockfd for the tls connection shall updated withthe provided value - ESP_ERR_INVALID_ARG if (tls == NULL || sockfd < 0)