I want to send a socket with data (a whole integer "23") from python to a web application that is written using Meteor which is a web structure built on top of node.js and other libraries.
On the python side, I have the following code:
import serial, socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(("localhost", 3000)) s.send ('something')
What do I need to do on the Meteor side? Is this Python code correct? Is this any different than websockets?
source share