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; };//定義這個結構體是因爲
相關文章
相關標籤/搜索