caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sylvain Le Gall <sylvain@le-gall.net>
To: caml-list@inria.fr
Subject: Re: Unix.send blocks
Date: Wed, 16 Jun 2010 09:49:32 +0000 (UTC)	[thread overview]
Message-ID: <slrni1h7hc.rk5.sylvain@gallu.homelinux.org> (raw)
In-Reply-To: <4C1894A2.3020805@gmail.com>

On 16-06-2010, Török Edwin <edwintorok@gmail.com> wrote:
> On 06/16/2010 10:32 AM, Paul Steckler wrote:
>
> You could set the socket to nonblocking mode (and check with 'select'
> whether you can send), but according to the manual that doesn't work on
> the native windows port of OCaml.
>

select works on Windows with latest version of OCaml. But there were a
couple of bugs corrected in version 3.12 (esp. O_NONBLOCK + select).
Next version will be safer for the use of select on Windows.

Regards,
Sylvain Le Gall


  reply	other threads:[~2010-06-16  9:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-16  7:32 Paul Steckler
2010-06-16  8:55 ` Sylvain Le Gall
2010-06-16  9:11   ` [Caml-list] " Christoph Bauer
2010-06-16  9:46     ` Sylvain Le Gall
2010-06-16  9:08 ` [Caml-list] " Török Edwin
2010-06-16  9:49   ` Sylvain Le Gall [this message]
2010-06-16 10:08 ` David Allsopp

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=slrni1h7hc.rk5.sylvain@gallu.homelinux.org \
    --to=sylvain@le-gall.net \
    --cc=caml-list@inria.fr \
    /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).