Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I was wondering how i would monitor network traffic, like in wireshark.
I have googled and most of the answers are, to use a library like winpcap.
But i dont want to use this method. I want to know what exactly one must do to be able to monitor network traffic at the core, and also with c/c++.
Do I have to use the NIC's driver or is there something I am missing.

Thanks.
Posted

1 solution

Even if you don't want to use winpcap you can have a look on how it works.

You can download the sources at https://www.winpcap.org/devel.htm[^]. A description about the driver internals can be found at http://www.winpcap.org/docs/docs_412/html/group__NPF.html[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900