Skip to content
#

ping

Here are 827 public repositories matching this topic...

angelofdeauth
angelofdeauth commented May 31, 2019

Pinger.New() runs connectICMP() which runs icmp.ListenPacket(network, address) using static value "ip4:icmp" as network. Per icmp.ListenPacket() def, this only allows usage of privileged endpoints.

ListenPacket listens for incoming ICMP packets addressed to address. See net.Dial for the syntax of address.

For non-privileged datagram-oriented ICMP endpoints, network must be "udp4" or "u

Improve this page

Add a description, image, and links to the ping topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ping topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.