I'm using windows xp sp2 so I would like to know how to do it with winpcap, an example source will be helpful, thanks.

Here's some code from a while ago; it's for tcp packets, but if you change the data it'll be for arp packets.

I've also attached someone else's code for the ethernet crc32 calc

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.