[][src]Function libcoap_sys::coap_read

pub unsafe extern "C" fn coap_read(ctx: *mut coap_context_t, now: coap_tick_t)

For applications with their own message loop, reads all data from the network.

@param ctx The CoAP context @param now Current time