Fixed the error message:'sockets.c:3:24: fatal error: sys/sockey.h: No such file or directory.' By changing sys/sockey.h to sys/socket.h