in reply to SOCK_RAW ICMP on windows
Go CPAN, check out Net::Pcap, which is an interface to pcap c lib.