Version franaise
Home About Download Resources Contact us

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Unix.send blocks
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sylvain Le Gall <sylvain@l...>
Subject: Re: Unix.send blocks
On 16-06-2010, Török Edwin <> 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.

Sylvain Le Gall