Library: Net Responsibility
Package: Core
Header: SnifferThread.h
SnifferThread is a thread that listens for HTTP requests on a specific interface, and makes sure they're getting logged. It is invoked by Sniffer. Much of this code is inspired by examples provided by TCPDump and Winpcap
Direct Base Classes: Poco::Runnable
All Base Classes: Poco::Runnable
Member Functions: openDevice, run
Inherited Functions: run
Constructs SnifferThread and sets up some default values
int openDevice(
string device
);
Open the given device.
virtual void run();
Run the SnifferThread.
See also: Poco::Runnable::run()