I was referred to dumpcap:print_statistics_loop by some of the experts here(forgive me if I don't remember his name). Trying to import the function into my code I see no linkage to the function get_interface_list (my be some others also). So far I use WinPcap library. What should I do more? Regards I. Lesher asked 11 Sep '12, 05:43 triplebit |
One Answer:
That was me, and it was just a hint to look at the code used there. You can't just import that function into your code, as that's all very specific to Wireshark. What you need is the pcap_stats() function from WinPcap (www.winpcap.org), used in the mentioned dumpcap function. I also mentioned the WinPcap developer guide, which I believe is the best way for you to get it working.
Regards answered 13 Sep '12, 06:33 Kurt Knochner ♦ |