摘要: 1.getsockopt(sockfd, SOL_SOCKET, SO_SNDTIMEO, &tv_out, sizeof(struct timeval)); 问题:Bad address,报错,errno =14 ,EFAULT:optval指向的内存并非有效的进程空间 解决办法:getsocko 阅读全文
posted @ 2022-04-12 10:04 Smah 阅读(2976) 评论(0) 推荐(0) 编辑