Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've used libpcap in the past, and it's been rather nice.

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: