Here's a three-part blog series on using Tornado, web2py's 
comet_messaging.py, and Socket.IO for async 
communication: 
http://greg.thehellings.com/2011/04/web2py-websockets-and-socket-io-part-i-basic-display/
 
(link to Part 2 at the bottom).

I suppose gevent-socketio (https://bitbucket.org/Jeffrey/gevent-socketio) 
could be made to work with web2py as well (apparently works with 
Django: 
http://codysoyland.com/2011/feb/6/evented-django-part-one-socketio-and-gevent/).

Anthony

On Thursday, November 17, 2011 12:01:30 PM UTC-5, Shiv wrote:
>
> Hi Everyone,
>
> Has any one used the socket.io with web2py, please share your experience.
>
> My requirement is 
> On click action, open a socket and run a TCL script and communication with 
> same.
> Once the TCL script is done the close the socket. I have to run multiple 
> such TCL script on multiple ports parallel y.
>
> Tried with Gevent,Tornado and struggling little bit. Thought of getting 
> you guys experience also.
>
> Thanks in advance
> Shiv
>

Reply via email to