Pure Python3 version of ICMP ping, shipped with command-line command.
-
Updated
May 22, 2022 - Python
1 Destination Unreachable [RFC4443]2 Packet Too Big [RFC4443]3 Time Exceeded [RFC4443]4 Parameter Problem [RFC4443]100 Private experimentation [RFC4443]101 Private experimentation [RFC4443]128 Echo Request [RFC4443]129 Echo Reply [RFC4443]130 Multicast Listener Query [RFC2710]131 Multicast Listener ReAdd a description, image, and links to the icmp-ping topic page so that developers can more easily learn about it.
To associate your repository with the icmp-ping topic, visit your repo's landing page and select "manage topics."
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.