Пример #1
0
 /// <summary>Flushes the output buffer to the 'savefile', so that any packets
 /// written with pcap_dump() but not yet written to the 'savefile' will be written.
 /// -1 is returned on error, 0 on success. </summary>
 internal static int pcap_dump_flush(IntPtr /*pcap_dumper_t **/ p)
 {
     return(UseWindows ? Windows.pcap_dump_flush(p) : Unix.pcap_dump_flush(p));
 }