Reputation: 10668
I have to write some code to retrieve network packets from an Ethernet card in Windows using ANSI C. Can anybody tell me where to get started?
Upvotes: 0
Views: 452
Reputation: 229342
The easiest way to do this is to use the PCAP library, there's a version for Windows here and a basic example here
Upvotes: 1