mirror of
https://github.com/taigrr/go-fastping
synced 2025-01-18 05:03:15 -08:00
parent
4188955ef5
commit
8f74a61288
@ -40,9 +40,13 @@ if err != nil {
|
|||||||
|
|
||||||
It sends an ICMP packet and wait a response. If it receives a response, it
|
It sends an ICMP packet and wait a response. If it receives a response, it
|
||||||
calls "receive" callback. After that, MaxRTT time passed, it calls "idle"
|
calls "receive" callback. After that, MaxRTT time passed, it calls "idle"
|
||||||
callback. For more detail, refer [godoc][godoc] and If you need more example,
|
callback. For more detail, refer [godoc][godoc] and if you need more example,
|
||||||
please see "cmd/ping/ping.go".
|
please see "cmd/ping/ping.go".
|
||||||
|
|
||||||
|
## Caution
|
||||||
|
This package now only implements ICMP ping using raw socket so the program
|
||||||
|
using this package needs to be run as root user.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
go-fastping is under MIT License. See the [LICENSE][license] file for details.
|
go-fastping is under MIT License. See the [LICENSE][license] file for details.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user