Relative Content

Tag Archive for c++winsock2winpcapraw-ethernetnpcap

Unable to achieve 10Gbps data rate with Npcap

I was developing a simulator for a sensor that I am working with. I already had it made Linux. I was using AF_PACKET socket and I was able to achieve 10 Gbps data transmission. I started with the same approach on windows I was using Winsock but then I realised they don’t allow me to create AF_PACKET socket. The sensor output is a custom ethernet II packet. which I cannot share. I am sending Jumbo packets. I cannot share my code also due to NDAs. But I can share the code that I used to benchmark pcap. Please tell me is there anything I can do to increase the data rate. I am not that familiar with windows so if I can change something in windows settings that can help boost up the data rate, share that also.