On Tuesday, January 25, 2011 10:48:36 AM UTC-5, Richard wrote:
>
> Thanks not exactly I think, see this post :
>
>
> http://groups.google.com/group/web2py/tree/browse_frm/thread/3626bf09e9e22d73/606e4cb4e1500d4d?rnum=1&_done=/group/web2py/browse_frm/thread/3626bf09e9e22d73%3Ftvc%3D1%26#doc_f023dc51edfaf3f7
>
> But have you set it Tornado ??
>
> I am interresting by this functionnality, say let the user chat with each
> other...
>
I'm assuming Massimo mistyped in that thread and meant to refer to
'comet_messaging.py' (not 'comer_server.py'). See
http://groups.google.com/group/web2py/browse_thread/thread/252eee6732b27fed.
Note, comet_messaging.py uses HTML5 websockets (not traditional comet
techniques), so currently only works in browsers that support websockets
(e.g., Chrome, but not IE or Firefox 3.x). Also, I'm not sure, but I think
it only implements websocket messaging in the server-to-client direction, as
that's all the original application required: http://web2py.com/trading. For
a chat application, you would need websocket messaging in both directions.
Anthony