netmon is a simple network monitoring library for windows. It aims to be a simpler version to the linux tool lsof. This library is desinged to link against rust programs and is written to bind rust FFI without hassel.
Feel free to grab the code and do what you want with it.
If winapi gets better maintenance and future development, then this library can be abdonned.
See netmon-sys to see this library in action.
cd build
cmake ..
cmake --build .
Build with example
cd build
cmake -DBUILD_EXAMPLE=ON ..
cmake --build .