dotpcap / sharppcap

Official repository - Fully managed, cross platform (Windows, Mac, Linux) .NET library for capturing packets
1.36k stars 270 forks source link

Capturing tcp packet has some delays. #536

Open ozohhub opened 2 months ago

ozohhub commented 2 months ago

@kayoub5 There is a delay in capturing the packet. The packet arrives a few seconds after it actually arrives and the packet is combined and captured at once. When I tested capturing with wireshark, it is fast and the data does not come together, but when capturing with sharpcap, it often captures with delay and combined as mss size (1460). I'm using windows 11 and installed NPcap.

kayoub5 commented 2 months ago

Set Immediate to true in DeviceConfiguration