caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Markus Mottl" <markus.mottl@gmail.com>
To: "Ivan Matveich" <ivan.matveich@gmail.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] lablgtk2: receiving messages from network?
Date: Sat, 15 Apr 2006 16:10:41 -0400	[thread overview]
Message-ID: <f8560b80604151310v1916c2faree88ec18ec576d5a@mail.gmail.com> (raw)
In-Reply-To: <b5def3a40604151233q774da2d8q403d6048c861c006@mail.gmail.com>

On 4/15/06, Ivan Matveich <ivan.matveich@gmail.com> wrote:
> How do I use Marshal without blocking?

You can set the socket options Unix.SO_RCVTIMEO and Unix.SO_SNDTIMEO
using Unix.setsockopt_float, passing the number of seconds until
timeout as argument.

Regards,
Markus

--
Markus Mottl        http://www.ocaml.info        markus.mottl@gmail.com


  parent reply	other threads:[~2006-04-15 20:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-15 19:33 Ivan Matveich
2006-04-15 19:45 ` [Caml-list] " yoann padioleau
2006-04-15 20:10 ` Markus Mottl [this message]
2006-04-15 20:58 ` Eric Cooper
2006-04-15 22:54 ` Remi Vanicat
2006-04-16 22:28   ` Ivan Matveich
2006-04-16 23:45     ` Jacques Garrigue

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=f8560b80604151310v1916c2faree88ec18ec576d5a@mail.gmail.com \
    --to=markus.mottl@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=ivan.matveich@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;
as well as URLs for NNTP newsgroup(s).