Skip to content
Snippets Groups Projects
Commit 1eaf474d authored by Dirk Loss's avatar Dirk Loss
Browse files

Support for special 'Scapy' variant of pypcap to enable timeouts

pylibpcap and pcapy offer a 'to_ms' parameter to set the read
timeout in milliseconds, but standard pypcap does not.
(Instead there is the 'immediate' parameter to disable buffering.)
A specially patched pcap version was made for Scapy which adds a
timeout_ms parameter, but to stay compatible with pypcap it has a
different position in the argument list than in pylibpcap
and pcapy.
So we have to distinguish four different Python bindings for
libpcap/WinPcap.
parent 265290ef
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment