当前位置:网站首页>Socket long link
Socket long link
2022-07-27 06:11:00 【Drunk and refreshing】
What is? socket.socket Mainly used for instant messaging .socket It's a long connection .
Conventional http request , As the server returns a message to the client , The connection between the two disappears , So if the server wants to mainly contact the client, it has to rely on polling , But this kind of polling is more performance consuming , It consumes the performance of the client , And consumes server resources , So there is the concept of long connection .
Traditional type :

Long link :
边栏推荐
猜你喜欢
随机推荐
[song] rebirth of me in py introductory training (10): numpy
C语言-文件操作
Dynamic planning for solving problems (3)
哈夫曼树的求法,代码实现及证明,图文解释
Reading and writing of C # file
[first song] rebirth of me in py introductory training (2): formula programming
pycharm安装及导入项目注意事项
Cesium教程 (1) 界面介绍-3dtiles加载-更改鼠标操作设置
C语言扫雷最新 递归展开 超详解(附源码)
链表回文判断
[song] rebirth of me in py introductory training (9): exception handling
遥感影像识别-制作数据集
Dynamic planning for solving problems (6)
切线空间以及TBN矩阵
Acwing the number of square arrays of one question per day
Pzk's first understanding of pointer in learning C language
Unity 实用小技巧(更新ing)
力扣题解 二叉树(7)
常见的SQL优化方法
1半自动爬虫








