I am using https://github.com/invisibleroads/socketIO-client so that my Node.JS server is communicating with Python Backend.
However, this is a bit complicated because I really want to use my Python as a backend, and it makes sense to use Python as a server, and Node.JS acts as a client. Ideally, Node.JS code initiates a connection to Python code, and Python code returns something.
Although there is a socket.io-client library for Node.JS, I could not find a simple socket.io server library for Python.
As an alternative, how can I get socket.io server to initiate a message (i.e. emit ()) to the client?
ejang source share