HTTP server using socket.io with uwebsockets #5056
-
Hi, I'm new to socket.io but I was already able to do some small projects using express + socket.io. At the moment after few hours of experimenting I ended up with using two ports - one for express http server and onether one for uwebsockets - socket.io communication.
and code from game.js to connect to uwebsockets - socket.io: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! I don't think this is possible. Express is meant to be used with a Node.js HTTP server, not with uwebsockets. |
Beta Was this translation helpful? Give feedback.
Hi! I don't think this is possible. Express is meant to be used with a Node.js HTTP server, not with uwebsockets.