> What headers do you need to compile sys/socket.h?
> 
>   #include <sys/socket.h>
>   int main() {return 0;}

Should I write this C program and try to compile it?

-Kurt