I compile my simple prog with #include <sys/socket.h> but there’s none of this file.
Where is it, I just start coding in linux and I have no idea where is it . Or do we need to download it online .
I compile my simple prog with #include <sys/socket.h> but there’s none of this file.
Share
In case you have installed manual pages, the first stop should be
man socket.Without manual pages you could call
which outputs
on my system, the one to include is
sys/socket.h.Also see the Single UNIX Specification.