The FAQ states that set_immediate_mode would be sufficient to disable buffering for latency sensitive applications. On windows however the latency after setting set_immediate_mode to true is still around 1 second.
To fix this the user has to call
pcap_setmintocopy(sniffer.get_pcap_handle(), 0);
This works and should probably be part of tins set_immediate_mode or there should be a dedicated setmintocopy method on sniffer plus FAQ udpate.
The FAQ states that
set_immediate_mode
would be sufficient to disable buffering for latency sensitive applications. On windows however the latency after settingset_immediate_mode
to true is still around 1 second.To fix this the user has to call
This works and should probably be part of tins
set_immediate_mode
or there should be a dedicatedsetmintocopy
method on sniffer plus FAQ udpate.