FREE SOFTWARE ON CAMLCITY.ORG
Simple asynchronous network programming library.
Sonet is a collection of modules for asynchronous network applications. The modules contain an eventloop implementation, and parsers for some common protocols. The eventloop module is based on epoll for Linux, and defaults to OCaml's Unix.select on other platforms. It should be straightforward to bind to alternatives like kqueue on other platforms. Parsers and connection implementations exist for the HTTP/1.1 and D-Bus protocols. Parsers also exist for the JSON, JSONRPC and Bencode formats.