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 assuming that the funciton pcap_dispatch will call packet_hdl after all 3 packets are received. And for each packet packet_hdl is called to process the packet. is this right. with regards, Aman. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.