How to use Next 13 with socket.io server side
Unanswered
`${ViNoS}` posted this in #help-forum
as the title says, I want to establish a socket connection but am stuck a bit on the server side , any idea ?
5 Replies
For long running persistent connections (e.g. websockets) I'm pretty sure you're going to want a separate service (another Node app etc...) that acts as the ws server.
i made another node app (express one) it's very lame that nextjs does not allow to add something like this by making some changes in advanced level of Nextjs (i tried some ways but it was useless) os at the end i just made another Node app.
alright guys, thank you so much @Matt@Samyar
i wasted a lot of time on it actuallt :/
i have a node app with socket
but like for analytics it seemed more effecient and more orgnized to make things from the next server
so ama going back to node
but like for analytics it seemed more effecient and more orgnized to make things from the next server
so ama going back to node