Version française
Home     About     Download     Resources     Contact us    
Browse thread
netplex multi-thread asynchronous processor for passive clients
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jake Donham <jake@d...>
Subject: Re: [Caml-list] netplex multi-thread asynchronous processor for passive clients
On Fri, Apr 3, 2009 at 10:55 AM, Serge Sivkov <ssp.mryau@gmail.com> wrote:
> I 've look through sources of the netplex. For now i clearly see how
> synchronious service works,
> but i don't understand workflow of anyncronious version of netplex
> services (i'm using ocamlnet-2.2.9).

Can you explain what you're trying to achieve? I don't understand why
you want to connect #receive_message to #process. You might find it
easier to use Ocamlnet's RPC implementation to build an asynchronous
service. At least, looking at rpc_server.ml as an example of an
asynchronous service will be useful.

You may also be interested in orpc, which gives you a way to generate
RPC services from an OCaml signature:

  http://code.google.com/p/orpc2/

(new release coming soon.)

Jake