Is it possible to set the thread affinity for reading and writing? I tried setting my read/send thread affinity but it looks like ndisapi.dll sets it’s own threads.
The NDISAPI is a lightweight layer over the driver’s interface, and it does not have its own threads. However, if you use the NDISAPI through the simple_packet_filter class, then this class is responsible for creating the underlying thread that reads and writes packets.