osets.blogg.se

Wireshark portable capture ethernet
Wireshark portable capture ethernet












wireshark portable capture ethernet

I’m no expert in networking, but I’m guessing my Version 2 PCAP file is malformed somewhere. But needless to say, Version 2 works great, except for one annoying quirk. I don’t want to get into the differences between Version 1 and Version 2 in this post.

wireshark portable capture ethernet

So I reorganized the code so I could port it into another program. The first version of my code worked perfectly, but it was one big main() function, and that is not portable into larger programs. I’m writing a C program which builds an Ethernet/IPv4/TCP network packet, then writes the packet into a PCAP file for inspection.














Wireshark portable capture ethernet