I have a site and I want to allow users on that site to send information over to a second computer. That second computer would then take the information and make a physical robot do something.
The front end consists of an angularJS web app with a node.js server so that any device connected to the second computer can make the robot do something.
I'm struggling with what protocol to use in order to communicate with the second computer from the website. I tried using TCP but there were firewall issues and it doesn't seems hacky. I am thinking of either using REST or websockets but I am not sure which protocol is best suited for what I'm trying to do.
Thanks.