Haskell lib for libpcap

Keith Wansbrough Keith.Wansbrough@cl.cam.ac.uk
Thu, 22 May 2003 10:00:13 +0100


> Hi all,
> 
> I am interested in finding a library or some code in Haskell that can
> parse network packets from a network trace dump file generated by tcpdump
> (libpcap). Is anyone aware of such a library?
> 
> Thanks for your help.

I have written some OCaml code to do this, which you are welcome to
translate to Haskell.  I've written it in a pure-functional style, so
translation should be straightforward.  No claims for efficiency,
though!

Email me if you are interested.

--KW 8-)