I faced lot of problem in installing libcap (library for sniffing packet). You can easily install it in ubuntu by installing the package libpcap0.8-dev.
#sudo apt-get install libpcap0.8-dev
and during compilation of any program using pcap.h
compile it
#gcc prog.c -lpcap -o prog
enjoy coding.. :) B-)
#sudo apt-get install libpcap0.8-dev
and during compilation of any program using pcap.h
compile it
#gcc prog.c -lpcap -o prog
enjoy coding.. :) B-)
No comments:
Post a Comment