Hello, I'm trying to implement libpcap bindings for ocaml using CamlIDL. Currently, I'm running into trouble with C libpcap functions which are using callbacks. Those are: pcap_loop, pcap_dispatch and indirectly pcap_next (which calls pcap_dispatch) When using e.g. pcap_next in ocaml, defined by the idl code attached, it returns a correct pcap_pkthdr though the call to pcap_dispatch is not working due to the missing callback functionality.. Can anyone give me an idea how to solve such C-to-ocaml callback issues in idl ? thank you for any help, jonathan heusser -- Key fingerprint = 2A55 EB7C B7EA 6336 7767 4A47 910A 307B 1333 BD6C