<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Just to elaborate, there is a example inside the folder PacketDriver called TestPacketSend. And of course there is the disclaimer: "These files use the packet.dll API instead of wpcap.dll. The use of packet.dll API is strongly discouraged.". I like the option to use </span>PacketSetNumWrites for performance on some testing. <br></div><div><br><span></span></div><div><span>Looking at another example which uses wpcap.dll called sendpacket, I cannot find a way to access </span><span></span>PacketSetNumWrites with pcap_sendpacket, which is available. I understand I can use pcap_sendqueue_queue but the performance of sending a packet over and over is not as good.<br></div><div><br></div><div>I hope I am missing something easy. Can anyone please help? Is it possible to access that or those
variables without using packet.dll?<br></div><div><br><span></span></div><div><span>Thanks!</span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Kyle Simons <simonskj05@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> "winpcap-users@winpcap.org" <winpcap-users@winpcap.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, May 17, 2012 9:19 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Winpcap-users] PacketSetNumWrites in pcap.h?<br> </font> </div> <br>
<div id="yiv2130032323"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div>Is there a way to call PacketSetNumWrites from the wpcap.dll. I am trying to avoid using the packet.dll layer directly as suggested. Thanks!<br></div></div></div></div><br>_______________________________________________<br>Winpcap-users mailing list<br><a ymailto="mailto:Winpcap-users@winpcap.org" href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target="_blank">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br><br><br> </div> </div> </div></body></html>