I tried and tried to get the Websocket working, but I just couldn’t get the thing to work. Back to Google.
I foundĀ a different source where the author got his code to work with the Pi, however it was made for a different purpose. After tweaking the code, I finally got what I have been trying to achieve for weeks:
Not only that, turns out my JavaScript was also working pretty nicely, and I was actually receiving the data values from the user as well:
So far, this is looking good. I just need to make all the clients synchronous and parse the data above.
As always, all of my code and updates can be found on my github.

