Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jamesseda
· 16y ago · 0 comments
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.
Comments
[–]
tptacek
16y 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.
[–]
jamesseda
OP
16y ago
I am not using an API, I am writing to the driver
[–]
tptacek
16y ago
Just use Winpcap instead of wasting time reinventing this wheel.