From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA18554; Tue, 9 Mar 2004 18:59:38 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA18774 for ; Tue, 9 Mar 2004 18:59:36 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from wetware.com (wetware.wetware.com [199.108.16.1]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i29HxrKW027559 for ; Tue, 9 Mar 2004 18:59:53 +0100 Received: from [208.177.152.18] (helo=[10.0.1.7]) by wetware.com with esmtp (Exim 4.20) id 1B0lVu-0004oT-Em; Tue, 09 Mar 2004 09:59:34 -0800 In-Reply-To: <20040309173009.27908.qmail@web41215.mail.yahoo.com> References: <20040309173009.27908.qmail@web41215.mail.yahoo.com> Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <7DBE572A-71F3-11D8-BDB0-000393B8133A@wetware.com> Content-Transfer-Encoding: quoted-printable Cc: caml-list@inria.fr From: james woodyatt Subject: Re: [Caml-list] Completeness of "Unix" run-time library Date: Tue, 9 Mar 2004 09:59:20 -0800 To: Vasili Galchin X-Mailer: Apple Mail (2.612) X-Miltered: at nez-perce by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; woodyatt:01 jhw:01 wetware:01 caml-list:01 run-time:01 otherlibs:01 mli:01 posix:01 api:01 mli:01 lacking:01 multicast:01 drop-in:01 bsd-like:01 woodyatt:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Keywords: X-UID: 93 On 09 Mar 2004, at 09:30, Vasili Galchin wrote: > =A0 > =A0=A0=A0=A0=A0 I have yet to finish reading through = otherlibs/unix/unix.mli. I=20 > kind of consider this POSIX API support. In any case, is there is a=20 > consensus that what is in unix.mli is complete? Or does new=20 > 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=20= in the Ocaml distribution as the property of INRIA. It has what it=20 has, and it will get what INRIA decides is missing when the INRIA team=20= decides to put it there. I found the support for socket options to be lacking. I wanted IPv6=20 support. I'll probably want all manner of other things eventually,=20 e.g. multicast, raw sockets, routing sockets, etcetera. The way to get=20= this is to write a drop-in replacement for the features of the Unix=20 library you need updated. I released my code for extending socket support in Unix with my Cf=20 library, which you can find on the Hump. (It only builds on Mac OS X=20 and probably other BSD-like platforms, because I used the sa_len field=20= in socket address structures. That should be easily fixed in my next=20 release in a couple months.) --=20 j h woodyatt 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