[][src]Function libcoap_sys::coap_endpoint_set_default_mtu

pub unsafe extern "C" fn coap_endpoint_set_default_mtu(
    endpoint: *mut coap_endpoint_t,
    mtu: c_uint
)

Set the endpoint's default MTU. This is the maximum message size that can be sent, excluding IP and UDP overhead.

@param endpoint The CoAP endpoint. @param mtu maximum message size