socket_select · tv_sec和tv_usec两者构成超时参数,tv_sec为0,socket_select()立即返回,此时可认为是是非阻塞的,这种情况适用于轮询 · 如果tv_sec是NULL,socket_select ...
確定! 回上一頁