Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
fcntl(sockfd,F_GETFD,0)没有检测到错误的文件描述符,而select在同一个 sock fd 上会给出错误的文件描述符错误。
fcntl(sockfd,F_GETFD,0)
select