Implementing ICMP ping in Go


Is it possible to implement an ICMP ping in Go? The alternative is to fork a ‘ping’ process, but I’d rather write it in Go.


Currently, the ICMP Echo (Ping) function isn’t supported in the Go net package.

There’s no support for sending ICMP
echo requests. You’d have to add
support to package net. ping

Answered By – peterSO

Answer Checked By – Gilberto Lyons (GoLangFix Admin)

Leave a Reply

Your email address will not be published.