Ok I found a solution online, maybe Massimo can confirm that there is a bug in web2py_sockets.py
https://groups.google.com/forum/#!msg/python-tornado/kgCoVCUkdeM/99yS2ZEhkVAJ Ah, OK. Looks like a web2py bug then. web2py's websocket support contains > handlers that return "true" or "false"; these values are ignored, so they > should either be removed or converted to self.write() calls. > > https://github.com/web2py/web2py/blob/master/gluon/contrib/websocket_messaging.py#L98 On Friday, July 26, 2013 10:08:37 PM UTC+8, Eduardo Cruz wrote: > > Is there a way to send data to a websocket from javascript > using web2py_websocket ? -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

