ping of ICMP implement by C