摘要: https://blog.csdn.net/hailuoing/article/details/8222359 阅读全文
posted @ 2019-05-21 13:44 redstar9451 阅读(34) 评论(0) 推荐(0) 编辑
摘要: close(fileno(stdin)); dup2(sockfd, fileno(stdin)); close(fileno(stdout)); dup2(sockfd, fileno(stdout)); close(fileno(stderr)); dup2(sockfd, fileno(std 阅读全文
posted @ 2019-05-21 13:12 redstar9451 阅读(97) 评论(0) 推荐(0) 编辑