with pcap I can sniff on a network interface. The interface I want to sniff on I take with
But now I already have a dump file from tcpdump and so my programm (including pcap.h) should read from this file instead of sniffing on an interface.Code:dev = pcap_lookupdev(errbuf);
Does somebody know how I have to go on?
edit: Oh, I see, there is an extra discussion board for network problems. If it's neccessery, can a mod move this thread.