[Winpcap-users] Reuse pcap_send_queue
Сергей Мещерин
sergey.metcherin at gmail.com
Fri Apr 22 04:58:28 PDT 2011
Good day, colleagues!
Can I reuse one pcap_send_queue for several consecutive queue dispatches?
Pseudocode is:
pcap_sendqueue_alloc (queue, MAX_SIZE);
for (int index = 0; index < NUMBER; ++index) {
Fill_Queue(queue);
pcap_sendqueue_transmit(queue);
Reset_Queue(queue);
}
pcap_sendqueue_destroy(queue);
The main point that I want to use pcap_sendqueue_alloc and
pcap_sendqueue_destroy only ONCE, because I need transmit my queues as fast
as possible. All queues can be different, but it's guaranteed that size of
each will not exceed some MAX_SIZE.
--
Best regards, Metcherin Sergey.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winpcap.org/pipermail/winpcap-users/attachments/20110422/750d3622/attachment.html>
More information about the Winpcap-users
mailing list