我正在使用socket.io在一个NodeJS应用程序。socket.io页面位于localhost:8081/socket.io/中。但是,我想把它放在localhost:8081/hola/socket.io/中。这有可能吗?require("express");var server = require("http").Server(app);
var io = require(&quo
我有一个带有express 4的小http服务器,在它上面我需要添加一个小的实时组件,我已经为它选择了Socket.IO。fs.readFileSync('g3.crt')};
var io = require('socket.io和下面的客户端代码:我注意到这条消息从那以后就被垃圾邮件发到控制台了:
GET http://