2019年8月15日

聊天室socket

摘要: 两种方法, 阅读全文

posted @ 2019-08-15 23:49 山本耀司的清晨 阅读(65) 评论(0) 推荐(0) 编辑

使用Node.js原生代码实现静态服务器

摘要: const http=require ('http'); //导入模块 const PORT=3000; //设置端口号3000(3000 5000 6000 9000) const HOSTNAME='localhost'; //或"127.0.0.1" http.createServer((re 阅读全文

posted @ 2019-08-15 08:03 山本耀司的清晨 阅读(112) 评论(0) 推荐(0) 编辑

导航