摘要: 配置文件 1,192.168.87.121,192.168.87.131,192.168.87.141,192.168.87.151,192.168.87.161,192.168.87.17 读代码 #include #include #define IP_LEN 16 int init_ips(std::vector *pips,const char * path);void dest... 阅读全文
posted @ 2017-09-04 10:29 guanlongcun 阅读(288) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include void start_routine(); void signal_handler(int signo){ if(signo==SIGCHLD){ pid_t pid; while((pid=waitpid(-1,NULL,WNOHANG))>0){ ... 阅读全文
posted @ 2017-09-04 10:27 guanlongcun 阅读(451) 评论(0) 推荐(0) 编辑