In winpcap C++ environmet.
pcap_loop(adhandle, 0, packet_handler, NULL);
packet_handler is a callback function when it receives a packet.
Now my problem is
If I wrote a code like this
while(true)
{
pcap_loop(adhandle,0, packet_handler,NULL);
}
Could it happen that the pcap_loop function will be executed twice or more before the resend function being callbacked?
Or the loop will be blocked until the callback function finished to continue?