joe kibz wrote: > the one error > cannot convert parameter 1 from 'struct pcap_dumper *' to > 'unsigned char *' What happens if you explicitly cast the argument to "unsigned char *"? pcap_dump((unsigned char *)dumpfile, header, pkt_data);