This modification provides two new functions, coap_run_once() and coap_run(), that can be used by applications to drive the library's I/O logic.