So, the question is in the following: How?
I have already implemented the TCP server on Python. It sends the data to a client(also implemented on Python).
So now I want to make it on JavaScript
Any reccomendations or suggestions?
So, the question is in the following: How?
I have already implemented the TCP server on Python. It sends the data to a client(also implemented on Python).
So now I want to make it on JavaScript
Any reccomendations or suggestions?
You currently cannot connect to a TCP socket from plain JavaScript.
You have to rely on XHR or Websockets.
For more information see this answer.
Edit:
In Python you could use SocketIO to create a WebSocket. An example can be found here.