|
Hi.
I think this is due to the receive process: Winpcap buffers
packets in the kernel buffer, and then wakes up the application when either a
timeout elapses (the one you set with pcap_open), or a minimum amount of data is
present in the buffer (by default it's 16kB, you can change it with
pcap_setmintocopy()), whatever comes first.
You can change such behavior by setting mintocopy to 0, but
this can affect performance badly (since the application is waken up whenever a
packet arrives, and this could led to a higher number of system calls, i.e.
switches from kernel mode to user mode).
Hope it helps
Have a nice day
GV
|
- [WinPcap-users] Transmit Delay Frank Natoli
- Re: [WinPcap-users] Transmit Delay Gianluca Varenni
- Re: [WinPcap-users] Transmit Delay Frank Natoli
