looking for a minimalistic example of RPC

Francois Berenger <[email protected]> Mon, 12 Jan 2015 17:49:58 +0100
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <[email protected]>
Hello,

Where can I find a minimalistic example of a client and server
using ocamlnet's RPC library?

I looked into the sources of ocamlnet in examples/rpc/finder
but the finder example uses netplex, so it is not really
a minimalistic example.

I am looking for something really trivial, for example:

A module A with function 'some_int ()' that returns
an int each time it is called.
A module B, client of A which would invoke the remote some_int
method provided by module A and get the result in a synchronous manner.

-- 
Regards,
Francois.

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
www.gigenet.com