April 2005
Intermediate to advanced
344 pages
11h 59m
English
pcap_dump_open — Prototype: pcap_dumper_t *pcap_dump_open(pcap_t *p, const char *fname)
Purpose: pcap_dump_open is used to open a file for
saving packets to a disk file. The fname string
holds an appropriate filename for the underlying platform, or can be
"-" to denote STDOUT.
pcap_dump_open returns a
pcap_dumper_t handle on success that can used for
calling pcap_dump, or NULL on
error.
Read now
Unlock full access