Y
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
tptacek
5842 days ago
"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.
link
jamesseda
5842 days ago
I am not using an API, I am writing to the driver
link
tptacek
5842 days ago
Just use Winpcap instead of wasting time reinventing this wheel.
link