Saturday, 3 November 2018

What would be the best way to get two separate websockets to connect?

I'm working on a school project using websockets for the first time and I'm using the ws library (probably a mistake).My issue is that the server I'm managing is like the middleman, like a proxy but with more functions. It holds a ws server that's connected to the front end client and a client that's connected to the back end server. Are there any tips as to how to get data to transfer between these two websockets, or am I just screwed and should probably redesign the entire thing to use socket.io? I ask mostly because I'm not in charge of the backend. Any help would be appreciated, thanks!

Submitted November 03, 2018 at 10:08PM by lostincomputers

No comments:

Post a Comment