showing results for - "socket io init in commonjs"
Andrea
21 Aug 2016
1const httpServer = require("http").createServer();const io = require("socket.io")(httpServer, {  // ...});io.on("connection", (socket) => {  // ...});httpServer.listen(3000);
similar questions
queries leading to this page
socket io init in commonjs