Pcap library for C# odd problem
I'm currently using the PCAP C# library and making no changes from the received packet. The problem is illustrated in the following image.
http://img269.imageshack.us/img269/6549/wtfisthisshitx.jpg
The left side is Wireshark (The correct version of the captured packet) and the right is my capture using the Pcapсфз library. The c2s do not belong. Has anyone else seen this before?
The code I'm using开发者_运维问答 to receive the packets is almost 100% like the example posted on their website.
I do not have experience with the library you are currently used SharpPcap quite extensively and have not had an issue with this. Alternatively to Pcap, you can use various other products to access packets on the NDIS layer, such as fireBwall which uses the WinpkFilter driver. fireBwall does parse your packets into classes that can be used to reference/change the packet's parsed values.
精彩评论