func SupportsRawIPSocket() (string, bool) {
	if os.Getuid() != 0 {
		return fmt.Sprintf("must be root on %s", runtime.GOOS), false
	}
	return "", true
}
SupportsRawIPSocket reports whether the platform supports raw IP
sockets.
package nettest
import (
	"fmt"
	"os"
	"runtime"
)