Developing lightweight computation at the DSG edge

Commit 68a45b48 authored by mapl's avatar mapl Committed by Cameron Sparr
Browse files

Update README.md (#21)

update doc on windows support
parent 416e7211
......@@ -78,5 +78,10 @@ use setcap to allow your binary using go-ping to bind to raw sockets
setcap cap_net_raw=+ep /bin/goping-binary
```
## Note on Windows Support:
You have to use "SetPrivileged(true)" like "pinger.SetPrivileged(true)", otherwise you will receive an error:
"Error listening for ICMP packets: socket: The requested protocol has not been configured into the system, or no implementation for it exists." This even works without admin privileges. Tested on Windows 10
See [this blog](https://sturmflut.github.io/linux/ubuntu/2015/01/17/unprivileged-icmp-sockets-on-linux/)
and [the Go icmp library](https://godoc.org/golang.org/x/net/icmp) for more details.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment