Good day, colleagues!<br><br>Can I reuse one pcap_send_queue for several consecutive queue dispatches? Pseudocode is:<br><br>pcap_sendqueue_alloc (queue, MAX_SIZE);<br><br>for (int index = 0; index < NUMBER; ++index) {<br>
<br> Fill_Queue(queue);<br> pcap_sendqueue_transmit(queue);<br> Reset_Queue(queue);<br><br>}<br><br>pcap_sendqueue_destroy(queue);<br><br>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.<br clear="all">
<br>-- <br>Best regards, Metcherin Sergey.<br>