<sys/types.h> 

primitive system data types(包含很多类型重定义,如pid_t、int8_t等);   
 
<sys/socket.h>
 
与套接字相关的函数声明和结构体定义,如socket()、bind()、connect()及struct sockaddr的定义等;
 
<sys/ioctl.h>
 
I/O控制操作相关的函数声明,如ioctl();
 
<stdlib.h>
 
某些结构体定义和宏定义,如EXIT_FAILURE、EXIT_SUCCESS等;
 
<netdb.h>
 
某些结构体定义、宏定义和函数声明,如struct hostent、struct servent、gethostbyname()、gethostbyaddr()、herror()等;
 
<arpa/inet.h>
 
某些函数声明,如inet_ntop()、inet_ntoa()等;
 
<netinet/in.h>
 
某些结构体声明、宏定义,如struct sockaddr_in、htons、PROTO_ICMP、INADDR_ANY等;
 

 
<poll.h>             
 
poll,pollfd相关的定义;
 

 
<unistd.h>        
 
I/O相关的操作函数声明,如read,write等