Function esp_idf_svc::sys::esp_transport_set_default_port

source ยท
pub unsafe extern "C" fn esp_transport_set_default_port(
    t: *mut esp_transport_item_t,
    port: i32,
) -> i32
Expand description

@brief Set default port number that can be used by this transport

@param[in] t The transport handle @param[in] port The port number

@return - ESP_OK - ESP_FAIL