Open mohammedtabish0 opened 8 months ago
While running go build the error is thrown:- .\pingwatch.go:92:34: undefined: syscall.SIGUSR1 probably because syscall.SIGUSR1 command does not work on Windows (?).
go build
.\pingwatch.go:92:34: undefined: syscall.SIGUSR1
syscall.SIGUSR1
That could be worked around with build tags, but I seriously doubt the code that uses raw sockets to send ICMP (ping) packets would work on Windows.
While running
go build
the error is thrown:-.\pingwatch.go:92:34: undefined: syscall.SIGUSR1
probably becausesyscall.SIGUSR1
command does not work on Windows (?).