This project is read-only.

Hava a fast way to dump packet to file

May 5, 2014 at 9:22 AM
I use PacketDumpFile's dump method to dump packet to file, but it cost a lot of cpu usage(about 30% - 40%)
my idea is use fopen and fwrite instead of PacketDumpFile, but I can not call them in C#, could everyone give me an example show how to call them in C#
May 9, 2014 at 5:49 PM
Edited May 9, 2014 at 5:49 PM
Hi laoyang103,

Calling fopen() and fwrite() using C# isn't really related to Pcap.Net.
Googling this brought up this link with an answer:

I hope this helps,