Ejemplo n.º 1
0
 /// <summary>
 /// Read packets until cnt packets are processed or an error occurs.
 /// </summary>
 internal static int pcap_dispatch(IntPtr /* pcap_t* */ adaptHandle, int count, pcap_handler callback, IntPtr ptr)
 {
     return(UseWindows ? Windows.pcap_dispatch(adaptHandle, count, callback, ptr) : Unix.pcap_dispatch(adaptHandle, count, callback, ptr));
 }