net: Dial("ip4:icmp", ...) returns operation not permitted error because it uses a raw socket #19815
Labels
Comments
Please use English bro. |
试试google翻译 |
@AlpherJang use sudo tatsushid/go-fastping#8 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey, I almost started learning Golang, and then follow the book to try using socket programming. But when I use it
Ip4: icmp request remote host, the system returns to me such an error:
Fatal error: dial ip4: icmp 78.216.200.70: socket: operation not permitted
My system is os sierra
I hope that someone can why this situation is how to solve
The text was updated successfully, but these errors were encountered: