Open penaples opened 1 year ago
penaples:
Hi, this is Ray, a passerby who finds this project via Z4nzu/hackingtool.
The following answer may be what you want:
The header <sys/socket.h> is defined in IEEE Std. 1003.1 (POSIX), but sadly Windows is non-compliant with the POSIX standard.
Source: https://stackoverflow.com/a/4641936
Since Windows does not have this header, I can also reproduce your error under Windows 10 Home 22H2. See the following screenshot.
As a result, you may consider to use some UNIX-like or Linux OSes like Ubuntu, Debian or CentOS to compile the program in this repository.
Btw, @fatihsnsy, please add a section "Getting Started" in the README to illustrate how environment can be set up as follows. Thank you!
# Tested in Debian 12 and Ubuntu 22.04.2
sudo apt install git build-essential
# (you may want to merge the code in the USAGE section to here)
Best regards, Ray Huang
aSYNcrone.c:5:10: fatal error: sys/socket.h: No such file or directory 5 | #include <sys/socket.h> | ^
~~~~~ compilation terminated.