linux学习笔记12 多线程服务器编程

#include <sys/types.h> #include <sys/wait.h> #include <errno.h> #include <pthread.h> #include <fcntl.h> using namespace std; struct s_info { struct sockaddr_in addr_client; int cfd; };//定义这个结构体是因为
相关文章
相关标签/搜索