File: README

package info (click to toggle)
python-pypcap 1.1.2%2Bdebian-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 96 kB
  • ctags: 101
  • sloc: ansic: 275; python: 144; makefile: 67
file content (19 lines) | stat: -rw-r--r-- 371 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

Python pcap module
------------------

this is a simplified object-oriented Python wrapper for libpcap -
the current tcpdump.org version, the legacy version shipping with 
some of the BSD operating systems, and the WinPcap port for Windows.

example use:

>>> import pcap
>>> for ts, pkt in pcap.pcap():
...     print ts, `pkt`
... 

-d.

---
http://monkey.org/~dugsong