github.com/houaq/ping
Package ping is an ICMP ping library seeking to emulate the unix "ping" command. Here is a very simple example that sends & receives 3 packets: Here is an example that emulates the unix ping command: It sends ICMP packet(s) and waits for a response. If it receives a response, it calls the "receive" callback. When it's finished, it calls the "finish" callback. For a full ping example, see "cmd/ping/ping.go".
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
over 5 years ago
v0.0.0-20200928084721-de3ee44eefe7
over 5 years ago
Versions
1
1
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/houaq/ping
spec |
| License | MIT |
| Namespace | github.com/houaq |
| First Release | over 5 years ago |
| Last Synced | 1 day ago |
Repository
| Stars | 0 on GitHub |
| Forks | 0 on GitHub |