I have written a program to capture all packets from all the ports...
using pcap.h in promiscuous mode without using bpf filter.... but when
i was pinging the other machine though it was capturing the packet..
but the other machine was still pinging... can anyone suggest me the
way to completely stop the packet and process it ... the code which i
run goes like this...