views:

258

answers:

2

im writing an application destined to accept icmp echo request, and respond icmp echo reply by its criteria. problem is, windows xp takes over the received ping, and quickly replies the sender with a response. i tried disabling this ability through windows firewall and microsoft managment console, it worked but it disabled me from sending ping response through my socket application. help? thanks

A: 

thanks for your reply. what library for system drivers do you recommend? is WinPcap ok? im new to this. i would love to see some documentations about developing system drivers, especially icmp specific will help. thanks.

+1  A: 

I think you probably want to look into implementing a "Layered Service Provide" (LSP): http://en.wikipedia.org/wiki/Layered%5FService%5FProvider

I am not sure though if an LSP can listen in to ICMP (which, as the earlier response says correctly, is really embedded deep inside the IP protocol stack). But if it can, then that should give you another way to solve your problem.

Hope this helps.

joyjit