Hello World client/server

The next example is a pair of programs: hello_server.native and
hello_client.native. The server will accept requests via the
Async.Rpc library, and the client dispatches them. The RPC is
trivial: the client sends a string, and the server attaches " World!"
to the end of it and sends the result back.

Message Broker

This is the most complicated example. broker_server.native is a
simple message broker that allows you to publish and subscribe to
streams of data. broker_client.native is a client that lets you do
a few operations, including publishing, subscribing, getting a dump of
the current state of the server, and shutting the server down.

Guide to the files

These are listed in rough dependency order.

hello_world.ml: Command-line tool that prints "Hello World!"

common.ml: Some common utilities for setting up Async-RPC clients
and servers

hello_protocol.ml: Async-RPC protocol for communicating between
the hello client and server.

hello_server.ml: Async-RPC server for answering "hello" query

hello_client.ml: Async-RPC client fro sending "hello" query

directory.ml: Core datastructur of the Async message broker

broker_protocol.ml: Async-RPC protocol for communicating between
the broker client and server.