select设置超时时间后一直返回零,是因为每次select后监听的fd_set都被重置,解决方法就是每次重新设置
posted on 2016-11-17 15:36  chimmu  阅读(560)  评论(0编辑  收藏  举报