zoukankan
html css js c++ java
ET边缘触发和LT水平触发
总结:
LT水平触发:有数据一直触发
客户端发送了100个字节,服务端一次性接受5个字节,会一直触发epoll读事件,直到读完了这100个字节
ET:从没有数据到有数据的过程中才触发
客户端发送了100个字节,服务端只接受5个字节,等到下次客户端发送数据的时候,才会触发epoll事件,读取后面的字节。
listen fd 适合lt
ET+循环读 小数据块
LT+一次性读 大数据块
查看全文
相关阅读:
vue如何实现热更新
vue项目与node项目分离
vue如何实现热更新
Vue项目SSR改造实战
找工作Java面试 题搜集
html5绘图笔记纪要
HTML5实现绘制几何图形
浅谈html5在vr中的应用
浏览器三种事件处理的模型
基于html5二个div 连线
原文地址:https://www.cnblogs.com/boluo007/p/14705514.html
最新文章
jmeter(一)安装与环境配置
GeoJSON C#判断某一点是否在某一区域范围之内
设计模式 抽象工厂模式
C#编写Windows服务
MongoDB 桌面管理器MongoVUE
MongoDB 安装
APNS IOS 消息推送处理失效的Token
APNS IOS 消息推送JSON格式介绍
APNS IOS 消息推送沙盒模式和发布模式
APNS IOS 消息推送
热门文章
设计模式 工厂方法模式
设计模式 简单工厂模式
redis desktop manager
ubuntu上安装redis
Memcached修改默认端口
WCF服务自我寄宿
WCF服务寄宿到IIS
WCF使用纯代码的方式进行服务寄宿
C#封装程序集属性方法注释说明
ISAPI和CGI限制中没有ASP.NET v4.0
Copyright © 2011-2022 走看看