void myqtt_io_waiting_set_dispatch ( MyQttCtx ctx,
MyQttIoDispatch  dispatch 
)

Allows to configure the dispatch function to be used for the automatic dispatch function.

Parameters
ctxThe context where the operation will be performed.
dispatchThe dispatch function to be executed on every socket changed.