Node js - Socket.io-client is not connecting to socket.io server

前端 未结 4 400
闹比i
闹比i 2021-01-01 16:11

I am trying to connect to a socket.io-client using the following code:

Server:

// Load requirements
var http = require(\'http\'),
    io = require(\'         


        
4条回答
提交回复
热议问题