IP packet sniffer in C++ with Windows NT??? Any hints, source code???
Posted on 2001-08-09
I would like to build a simple IP packet sniffer (like those under Solaris --snoop) in C++.
So far I have seen this done only with W2K...
Does any one of you know of a place where I can get sample source code to start my
coding? I'd simply would like to sort by IP address To the From ;-)
So I need to be able to
1) sense the "wire"
2) read from it
3) open a packet
4) retrieve the from and to ip address
how can this be done using NT api???