Blocking Read / 读堵塞 3.tcp协议实现在尝试多次重发数据仍无法获得对方针对已发送数据包的确认信息,或者无法获得keep-alive的信息(如果tcp协议...
基于1个网页-相关网页
Wait on event occurrences with the select() (or a blocking read()) system call.
使用 select()(或阻塞的 read())系统调用等待事件发生。
There are several conditions which cause select() or a blocking read() to return.
几种情况会导致 select() 或阻塞的 read() 返回。
Once the monitoring application attempts another select or blocking read , those calls will return immediately since there is unread event occurrence data waiting in the buffer.
当监视应用程序试图执行另一次select或阻塞的read调用时,这些调用会立即返回,因为缓冲区中有未读的事件发生数据。
应用推荐