摘要: if(-1 == setsockopt(client_fd, SOL_TCP, TCP_KEEPIDLE , (char *) &time_opt, sizeof(int))) { printf("setsockopt TCP_KEEPIDLE error, %u\n", time_opt); } 阅读全文
posted @ 2016-08-31 20:26 Hi!gc 阅读(328) 评论(0) 推荐(0) 编辑