How to establish a Socket.io connection in app.js, but emit a message on a different module?

前端 未结 0 751
执念已碎
执念已碎 2021-01-15 18:48

I am trying to establish a connection between all clients and the server on client startup. So, I used this piece of code:

const express = require(\'express\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题