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 PacketSetNumWrites for performance on 
some testing. 


Looking at another example which uses wpcap.dll called sendpacket, I cannot 
find a way to access 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.


I hope I am missing something easy.  Can anyone please help?  Is it possible to 
access that or those variables without using packet.dll?


Thanks!



________________________________
 From: Kyle Simons <[email protected]>
To: "[email protected]" <[email protected]> 
Sent: Thursday, May 17, 2012 9:19 PM
Subject: [Winpcap-users] PacketSetNumWrites in pcap.h?
 

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!

_______________________________________________
Winpcap-users mailing list
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users
_______________________________________________
Winpcap-users mailing list
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users

Reply via email to