Пример #1
0
 /// <summary>
 /// Set nonblocking mode. pcap_loop() and pcap_next() doesnt work in  nonblocking mode!
 /// </summary>
 internal static int pcap_setnonblock(IntPtr /* pcap_if_t** */ adaptHandle, int nonblock, StringBuilder /* char* */ errbuf)
 {
     return(UseWindows ? Windows.pcap_setnonblock(adaptHandle, nonblock, errbuf) : Unix.pcap_setnonblock(adaptHandle, nonblock, errbuf));
 }