Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] socket PF_PACKET
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Kip Macy <kmacy@f...>
Subject: Re: [Caml-list] socket PF_PACKET
> 
> 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.

from the packet(7) man page on my linux desktop:
NOTES
       For  portable  programs  it  is suggested to use PF_PACKET via
       pcap(3); although this only covers a subset of the PF_PACKET 
       features.


A module to interface to libpcap, (which runs on all UN*X hosts I know of)
might be an approach sufficiently general to be incorporated into the 
distribution. 


				-Kip

-------------------
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