From: Jake Donham <jake@donham.org>
To: Serge Sivkov <ssp.mryau@gmail.com>
Cc: Gerd Stolpmann <gerd@gerd-stolpmann.de>, caml-list@yquem.inria.fr
Subject: Re: [Caml-list] netplex multi-thread asynchronous processor for passive clients
Date: Fri, 3 Apr 2009 11:13:41 -0700 [thread overview]
Message-ID: <c7e4e9f0904031113x476484e6r22012cc3cfd24ca7@mail.gmail.com> (raw)
In-Reply-To: <c6c39ebb0904031055h7960e7fcs1d827f4c5ee92621@mail.gmail.com>
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
next prev parent reply other threads:[~2009-04-03 18:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-03 11:19 Serge Sivkov
2009-04-03 15:51 ` [Caml-list] " Gerd Stolpmann
2009-04-03 17:55 ` Serge Sivkov
2009-04-03 18:13 ` Jake Donham [this message]
2009-04-04 14:24 ` Serge Sivkov
2009-04-05 16:27 ` Serge Sivkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c7e4e9f0904031113x476484e6r22012cc3cfd24ca7@mail.gmail.com \
--to=jake@donham.org \
--cc=caml-list@yquem.inria.fr \
--cc=gerd@gerd-stolpmann.de \
--cc=ssp.mryau@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox