From 8f74a6128827dec687dad4906749d7ad0036dbca Mon Sep 17 00:00:00 2001 From: Tatsushi Demachi Date: Thu, 8 Jan 2015 22:24:44 +0900 Subject: [PATCH] Add a description about a root privilege requirement to README Fix #8 --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d161efb..552c12f 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,13 @@ if err != nil { 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" -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". +## 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 go-fastping is under MIT License. See the [LICENSE][license] file for details.