<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Thought I would reply again and hope to see if anyone can help?  If this is not possible, can a new function be added into the next wpcap release that allows us to set and utilize P</span>acketSetNumWrites from wpcap.dll? <br></div><div><br></div><div>Thanks!<br></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> Friday, May 18, 2012 9:22 AM<br> <b><span
 style="font-weight: bold;">Subject:</span></b> Re: [Winpcap-users] PacketSetNumWrites in pcap.h?<br> </font> </div> <br>
<div id="yiv1094805623"><div><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="yiv1094805623"><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 rel="nofollow" ymailto="mailto:Winpcap-users@winpcap.org" target="_blank" href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br><a rel="nofollow" target="_blank" href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br><br><br> </div> </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>