It seems winpcap can't be used to do this kind of job(ref),
then which library to use alternatively?
It seems winpcap can't be used to do this kind of job(ref),
then which library to use alternatively?
This is very interesting. Look what I found here
A Layered Service Provider (LSP) is a feature of the Microsoft Windows Winsock 2 Service Provider Interface (SPI). A Layered Service Provider is a DLL that uses Winsock APIs to insert itself into the TCP/IP stack. Once in the stack, a Layered Service Provider can intercept and modify inbound and outbound Internet traffic.