websockets use http-based long polling so I think the terminology is
correct, but I may be wrong.

On Feb 13, 9:59 pm, Anthony <abasta...@gmail.com> wrote:
> On Sunday, February 13, 2011 4:41:18 PM UTC-5, Massimo Di Pierro wrote:
>
> > Right now the only examples are in web2py/gluon/contrib/
> > comet_messaging.py
>
> Is "Comet" the right terminology for this? It looks like it uses the new
> WebSockets protocol, not traditional Comet. My understanding is that Comet
> refers only to the older HTTP-based long-polling and streaming 
> techniques:http://en.wikipedia.org/wiki/Comet_(programming)
>
> Also, if I'm not mistaken, this implements WebSocket communications only in
> the server-to-client direction, but not from client to server. Do you plan
> to add capabilities for bi-directional WS communication?

True. The idea is that communication from client should go through
web2py because needs authentication.

>
> Anyway, this is very cool, and I think a nice additional piece of
> functionality for web2py. Would be neat if we could put together some kind
> of chat plugin.
>
> Anthony

Reply via email to