How can a windows app handle ICMP requests?

52 views Asked by At

I am trying to figure out how to handle ICMP requests on Windows. Ideally it would be within a c++ or C# application. If that is not possible, then how?

Essentially, I have a ping that is sending a specific Payload to my server. Based on the contents of the payload I need to either drop or reply to the ping request.

I know it can be done on Linux using NF Queue (https://stuff.mit.edu/afs/sipb/contrib/linux/net/netfilter/nf_queue.c)

Is it possible on Windows?

0

There are 0 answers