2 ms·
I've used libpcap in the past, and it's been rather nice. https://www.tcpdump.org/pcap.html https://www.tcpdump.org/pcap.html It abstracts all the hard work,
by bb88 9y ago
I've used libpcap in the past, and it's been rather nice.
https://www.tcpdump.org/pcap.html https://www.tcpdump.org/pcap.html
It abstracts all the hard work, gives you a handle that you can poll on, and then handles giving you a stream of packets to process.