摘要: const WebSocket = require("ws"); //开一个8080的端口 const WebSockets = new WebSocket.Server({ port: 8080 }); //链接 WebSockets.on("connection", function conne 阅读全文
posted @ 2024-04-24 09:44 QinHaoRan 阅读(13) 评论(0) 推荐(0)