Reputation: 7219
My understanding is that there are 2 main option for implementing websockets on a Pi 1 - Tornado - a light Python based web framework 2 - NodeJS+SocketIO
Pros-cons of each?
Is anyone familiar with either or perhaps can suggest a better alternative?
Upvotes: 0
Views: 646
Reputation: 645
Actually, a third alternative is too use Java WebSocket (though the use of Java on a Pi can be discussed...)
Upvotes: 0
Reputation: 11
I'm currently playing around with Tornado - here's where I am up to:
Raspberry Pi and Tornado Websockets Part 1
I've also created the html client but not yet recorded part 2. Feel free to take a look. Part 2 should be there today and I'll be continuing to develop/evolve the code.
Upvotes: 1
Reputation: 16
Node.js and socket.io is better option because Socket.IO support mobile device and realtime connectivity on every browse.
More details see this link http://socket.io/#browser-support
Upvotes: 0