Skip to content Skip to sidebar Skip to footer

Browser With Javascript Tcp Client

I have built a tcp server within node.js which receives and sends data to each client connecting to this server (clients in c++). Now I want the browser with javascript to connect

Solution 1:

The problem is that you are using just pure TCP connection in NodeJS. If you want to communicate via WebSockets you have to use some WS module on the server side (NodeJS) as well. Have a look at https://github.com/einaros/ws


Post a Comment for "Browser With Javascript Tcp Client"