摘要: 逐步构建HTTP服务器(四)——设计并使用缓冲 设计缓冲 设计缓冲的目的:解决不能一次read和write全部数据、未及时将套接字接受缓冲区读出造成的反复触发读事件就绪(busy-loop)。 Linux多线程服务端编程 7.4.2 为什么non-blocking 网络编程中应用层buffer是必需 阅读全文
posted @ 2021-08-16 22:58 ithepug 阅读(72) 评论(0) 推荐(0) 编辑