English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

Browse thread
[Caml-list] Completeness of "Unix" run-time library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-03-09 (17:59)
From: james woodyatt <jhw@w...>
Subject: Re: [Caml-list] Completeness of "Unix" run-time library
On 09 Mar 2004, at 09:30, Vasili Galchin wrote:
>       I have yet to finish reading through otherlibs/unix/unix.mli. I 
> kind of consider this POSIX API support. In any case, is there is a 
> consensus that what is in unix.mli is complete? Or does new 
> functionality have to be added? If so, what?

I think the Unix module could be regarded as incomplete.

The tactic I have taken with this problem is to regard the Unix library 
in the Ocaml distribution as the property of INRIA.  It has what it 
has, and it will get what INRIA decides is missing when the INRIA team 
decides to put it there.

I found the support for socket options to be lacking.  I wanted IPv6 
support.  I'll probably want all manner of other things eventually, 
e.g. multicast, raw sockets, routing sockets, etcetera.  The way to get 
this is to write a drop-in replacement for the features of the Unix 
library you need updated.

I released my code for extending socket support in Unix with my Cf 
library, which you can find on the Hump.  (It only builds on Mac OS X 
and probably other BSD-like platforms, because I used the sa_len field 
in socket address structures.  That should be easily fixed in my next 
release in a couple months.)

j h woodyatt <jhw@wetware.com>
markets are only free to the people who own them.
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners