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 SAA15266; Tue, 9 Mar 2004 18:10:15 +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 SAA15545 for ; Tue, 9 Mar 2004 18:10:14 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from web41212.mail.yahoo.com (web41212.mail.yahoo.com [66.218.93.45]) by concorde.inria.fr (8.12.10/8.12.10) with SMTP id i29HACHd026819 for ; Tue, 9 Mar 2004 18:10:13 +0100 Message-ID: <20040309171011.11454.qmail@web41212.mail.yahoo.com> Received: from [134.241.124.199] by web41212.mail.yahoo.com via HTTP; Tue, 09 Mar 2004 09:10:11 PST Date: Tue, 9 Mar 2004 09:10:11 -0800 (PST) From: Vasili Galchin Subject: [Caml-list] multicast IP added to the Unix library To: caml-list@inria.fr Cc: vasiliocaml@yahoo.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-925881304-1078852211=:11194" 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; multicast:01 multicast:01 threads:01 implemented:01 setsockopt:01 mli:01 setsockopt:01 sol:99 implemented:01 W4:99 threads:01 mli:01 sol:99 bool:01 bool:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Keywords: X-UID: 91 --0-925881304-1078852211=:11194 Content-Type: text/plain; charset=us-ascii Hello, I have added so far the multicast join and drop functionality to the unix (and threads) OCaml library. I have tested this functionality and it works. I do want to respect what has been implemented in the past (very fine work). I looked carefully at the various setsockopt functions in unix.mli and the multicast work didn't seem to fit easily within the bool, int, float paradigmn because the setsockopt call for multicast passes in a structure plus the setsockopt "level" actual parameter is not SOL_SOCKET (i.e. we are setting socket state at a different level, i.e. IPPROTO_IP). Hence, I implemented as two functions, multicast_join and multicast_drop. I, of course, amenable to changes in what I have done. Is there a code review process in order to get something into the mainline of OCaml?? Please someone supply me with details. Kind regards, Vasili --------------------------------- Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster. --0-925881304-1078852211=:11194 Content-Type: text/html; charset=us-ascii
Hello,
 
     I have added so far the multicast join and drop functionality to the unix (and threads) OCaml library. I have tested this functionality and it works. I do want to respect what has been implemented in the past (very fine work). I looked carefully at the various setsockopt functions in unix.mli and the multicast work didn't seem to fit easily within the bool, int, float paradigmn because the setsockopt call for multicast passes in a structure plus the setsockopt "level" actual parameter is not SOL_SOCKET (i.e. we are setting socket state at a different level, i.e. IPPROTO_IP). Hence, I implemented as two functions, multicast_join and multicast_drop. I, of course, amenable to changes in what I have done. Is there a code review process in order to get something into the mainline of OCaml?? Please someone supply me with details.
 
Kind regards, Vasili


Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster. --0-925881304-1078852211=:11194-- ------------------- 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