code of tcpdump in c/c++ ?
helo ,
can any one tell me the code of tcpdump in c or c++? thanx in advance |
Are you asking whether tcpdump is written in C or C++? If so, it's written in C. If not, please clarify your question, because it doesn't really make much sense.
|
Quote:
|
The source can be found here. You'll probably want to read through the documentation for libpcap as well.
|
Nylex? You've done the impossible:hattip:by providing JUST the answer while including suggestions too
Quote:
-Kudos-:D Here in U.S., we've proven this to be very difficult to do thus, I dedicate my very first post to you while appending my 2c as well: Syntax Examples: Code:
tcpdump -i eth0 Here's my favorite: Code:
tcpdump -i eth0|awk '{print $1,$3,$5}' |
All times are GMT -5. The time now is 07:23 AM. |