I have a icmp listening func :
func Start(url string) { conn, err := icmp.ListenPacket("ip4:icmp", url) if err != nil { log.Fatal(err) } for {