Hello, Browsing the examples plus the documentation, it seems that there are two different APIs on how to use Winpcap lib. For instance, to listen or capture Ethernet packets, PacketReceivePacket(lpAdapter,lpPacket,TRUE) or pcap_loop(adhandle, 0, packet_handler, NULL); seem to do the trick. I didn't find in the documentation anything indicating which one should be preferably used (for instance, examples TG or TestApp uses one although tcptop and pktdump use the other one). In the documentation it seems that only one is mentionned. Can someone tell me the difference between these two APIs and which one should be used, Thanks in advance for your help,
Cheers, Pierre ================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/ To unsubscribe use mailto: [EMAIL PROTECTED] ==================================================================
