linux下socket编写常用头文件
2017-06-04 12:40
435 查看
#include <sys/socket.h> //connect,send,recv,setsockopt等
#include <sys/types.h>
#include <netinet/in.h> // sockaddr_in, "man 7 ip" ,htons
#include <poll.h> //poll,pollfd
#include <arpa/inet.h> //inet_addr,inet_aton
#include <unistd.h> //read,write
#include <netdb.h> //gethostbyname
#include <error.h> //perror
#include <stdio.h>
#include <errno.h> //errno
#include <string.h> // memset
#include <string>
#include <iostream>
#include <sys/types.h>
#include <netinet/in.h> // sockaddr_in, "man 7 ip" ,htons
#include <poll.h> //poll,pollfd
#include <arpa/inet.h> //inet_addr,inet_aton
#include <unistd.h> //read,write
#include <netdb.h> //gethostbyname
#include <error.h> //perror
#include <stdio.h>
#include <errno.h> //errno
#include <string.h> // memset
#include <string>
#include <iostream>
相关文章推荐
- linux下socket编写常用头文件
- Linux socket 网络编程 常用头文件
- linux下socket通信常用的结构与头文件
- linux下socket编程常用头文件
- linux下socket 编程常用头文件
- linux socket网络编程常用头文件
- Linux socket 网络编程 常用头文件
- 转:linux下socket编程常用头文件
- linux socket编程常用头文件
- linux下socket编程常用头文件
- 【转】linux下socket编程常用头文件
- Linux socket 网络编程 常用头文件
- linux下socket编程常用头文件
- linux下socket编程常用头文件(推荐)
- Linux学习笔记3_文件系统常用命令
- Linux文件管理和编辑常用命令
- Linux中常用C/C++一些头文件的作用
- linux常用命令(文件系统\
- Linux常用文件权限控制命令
- linux 常用文件查找命令