Hacker News new | ask | show | jobs
by jamesseda 5842 days ago
cool, I'll check the nic status before sending if I ever want to maximize throughput. But I'll probably rewrite it in C at that point too.
1 comments

"Check the NIC status"? What network API are you using? Even if you're injecting with libpcap, you can still just select() on the device handle.
I am not using an API, I am writing to the driver
Just use Winpcap instead of wasting time reinventing this wheel.