![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
计算机网络
jensonliu
第一次 是小白
展开
-
计网 | 复习篇
大二学完计网之后就很久没有系统的复习过了,这篇就用来不定期记录一下复习的内容叭,还是搬运一些大神的博文内容,再加上自己的理解体会吧。 TCP 内容参考: https://blog.csdn.net/lengxiao1993/article/details/82771768 https://blog.csdn.net/u010853261/article/details/82109971 ...转载 2019-08-11 17:34:06 · 412 阅读 · 0 评论 -
服务器向客户端推送信息
WebSocket html5提供的模块,支持全双工通信 服务端: let WebSocket = require('ws'); let wss = new WebSocket.Server({port:9000}); // 建立连接 wss.on('connection',function(ws){ // 发送信息给客户端 ws.send('server say hello t...原创 2019-10-10 00:19:04 · 244 阅读 · 0 评论