Lwt is another library for event-driven programming. Here are some helpers for running Lwt code on top of Ocamlnet event queues.
This is for Lwt-2.3 or better.
See also the comments in
class lwt_backend :
Adapter for turning an Ocamlnet
event_system into an Lwt