Skip to main content

pamoja_coap_client_is_connected

Function pamoja_coap_client_is_connected 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_coap_client_is_connected( client: *mut PamojaCoapClient, ) -> bool
Expand description

Reports whether the endpoint is bound.

§Arguments

  • client - the endpoint.

§Returns

true when bound, or false if client is null.

§Safety

client must be a live handle from pamoja_coap_client_new, or null.