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 CAA13513; Tue, 2 Mar 2004 02:01:02 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id CAA13498 for ; Tue, 2 Mar 2004 02:01:01 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from web41208.mail.yahoo.com (web41208.mail.yahoo.com [66.218.93.41]) by concorde.inria.fr (8.12.10/8.12.10) with SMTP id i2210xae024601 for ; Tue, 2 Mar 2004 02:01:00 +0100 Message-ID: <20040302010059.48823.qmail@web41208.mail.yahoo.com> Received: from [67.242.203.192] by web41208.mail.yahoo.com via HTTP; Mon, 01 Mar 2004 17:00:59 PST Date: Mon, 1 Mar 2004 17:00:59 -0800 (PST) From: Vasili Galchin Subject: [Caml-list] use of abstract type "inet_addr" To: caml-list@inria.fr In-Reply-To: <87n0704kpq.dlv@vanicat.homelinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; otherlibs:01 mli:01 ocaml:01 unix:02 unix:02 wrote:03 addr:03 addr:03 abstract:03 inet:05 inet:05 functions:05 somewhat:06 type:07 type:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 15 Hello, I am somewhat new to OCaml (although quickly getting up to speed). I wrote some TCP/IP socket code that I need to test. In the signature of one of my functions I want to use type "inet_addr" (otherlibs/unx/unix.mli); however, even after reading the description I am a little unsure who to use because there is no representation even in unix.ml. How to use? Regards, Vasili __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools ------------------- 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