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 UAA00785; Wed, 11 Jun 2003 20:40:23 +0200 (MET DST) 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 UAA00884 for ; Wed, 11 Jun 2003 20:40:22 +0200 (MET DST) Received: from host07.ipowerweb.com (host07.ipowerweb.com [12.129.206.107]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h5BIeKT01383 for ; Wed, 11 Jun 2003 20:40:21 +0200 (MET DST) Received: from rouaix.net1.nerim.net ([213.41.136.224] helo=rouaix.org) by host07.ipowerweb.com with asmtp (Exim 3.36 #1) id 19QAVu-0002cS-00; Wed, 11 Jun 2003 11:40:03 -0700 Date: Wed, 11 Jun 2003 20:40:11 +0200 Subject: Re: [Caml-list] socket PF_PACKET Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: caml-list@inria.fr To: Alex Efros From: Francois Rouaix In-Reply-To: <20030611162421.GB3785@home.power> Message-Id: <222275D2-9C3C-11D7-8A50-000A95773ED2@rouaix.org> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host07.ipowerweb.com X-AntiAbuse: Original Domain - inria.fr X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - rouaix.org X-Spam: no; 0.00; caml-list:01 conforms:01 posix:01 mli:01 bug:01 faq:01 beginner's:01 beginners:01 bin:01 caml-bugs:01 ocaml:01 caml:01 alex:01 groups:01 exists:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I'll give it a try, although my answer is not authoritative... If PF_PACKET is Linux only, as I believe it is, it is unlikely that it will be added in the default Unix library, which mostly conforms to Posix standards. On the other hand, it should be fairly obvious for someone to write another version of socket() that supports it, and package it in a "Linux" module. --f PS: Don't assume that your question is simple because you know what PF_PACKET is... > It seems like nobody reply to my simple question sent a couple of days > ago. > If nobody in this list know answer, then maybe you can point me to some > emails of people who may answer this question? > > On Sun, Jun 08, 2003 at 11:08:41AM +0300, Alex Efros wrote: >> As far as I see in unix.mli, OCaml at this time don't support other >> domains than PF_INET and PF_UNIX. Is it exists a way to create >> PF_PACKET >> socket in OCaml? If not - is PF_PACKET support will be added in next >> OCaml release? > > -- > WBR, Alex. > > ------------------- > 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 > > ------------------- 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