Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows compatibility #24

Open
mohammedtabish0 opened this issue Feb 22, 2024 · 1 comment
Open

Windows compatibility #24

mohammedtabish0 opened this issue Feb 22, 2024 · 1 comment

Comments

@mohammedtabish0
Copy link

mohammedtabish0 commented Feb 22, 2024

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 (?).

@fazalmajid
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants