#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_coap_server_local_port(
server: *mut PamojaCoapServer,
) -> u16Expand description
The port the server listens on, which names the one the system chose when it bound port 0.
§Arguments
server- the server.
§Returns
The port, or 0 while the server is not connected or if server is null.
§Safety
server must be a live handle from pamoja_coap_server_new, or null.