C++ packet sniffer

Hello guys.
Soo... i have some knowledge about C++, i read (and understand) some networking, and i want to implement my own packet sniffer. The problem is that nowhere is a well explained one. So my answer is... how can i learn to make my own packet sniffer and where to learn it... what steps to follow?

Best regards.
closed account (zwA4jE8b)
see if you can get libpcap source. or at least documentation. and utilize that.

I believe packet sniffing is done on the lowest level which requires that you have or write a kernel mode driver.
I think wireshark can be used for this. its opensource.

http://www.wireshark.org/
Topic archived. No new replies allowed.