aman Reddy wrote:
can anyone please tell me the difference between pcap_dispatch and pcap_loop.
To quote the current CVS libpcap man page:
pcap_dispatch() is used to collect and process packets. cnt specifies
the maximum number of packets to process before returning. This is not
a minimum num
Dear All,
can anyone please tell me the difference between pcap_dispatch and pcap_loop.
and one more thing
In the following
pcap_dispatch(pcap_session,3,packet_hdl,(u_char*)&t)
the second argument specifies how many packets it has to capture.
Please correct me if I am wrong. I am assumin