Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Haskell bindings for the pcap library, which provides a low level interface to packet capture systems.
Branch: master
Failed to load latest commit information.
include Add a keeper directory
.hgignore Ignore more
.hgtags Added tag for changeset 6c279d03035e
README.markdown Relax version constraint on pcap
Setup.lhs Fix up build type. Make configure happier Continue tidying.
pcap.cabal Bump version to
test.hs Fix test.hs and related example in Base.hsc.


A Haskell wrapper around the C libpcap library.

It provides Haskell bindings for most of the libpcap API as of libpcap version 0.9.7. The bindings are divided into a very efficient low-level wrapper, Network.Pcap.Base, and a higher-level module, Network.Pcap, that's easier to use.

To install:

cabal install pcap

Get involved!

Please report bugs via the github issue tracker.

There's also a git mirror:

  • git clone git://

Master Mercurial repository:

  • hg clone

(You can create and contribute changes using either Mercurial or git.)


This library was originally written by Gregory Wright, with contributions by Dominic Steinitz. The current maintainer is Bryan O'Sullivan,

Something went wrong with that request. Please try again.