I'm trying to learn how to use websocket-io and the only thing I could find 
about using it with web2py is here 
: https://groups.google.com/forum/#!newtopic/web2py/web2py/nJmML_jeZfc

I can get the example working, however I dont really understand whats going 
on with run_iochat.py....

from gevent import monkey; monkey.patch_all()

from socketio import socketio_manage
from socketio.server import SocketIOServer
from socketio.namespace import BaseNamespace
from socketio.mixins import RoomsMixin, BroadcastMixin

from gluon.main import wsgibase

if __name__ == '__main__':
    print 'Listening on port 8080'
    SocketIOServer(('0.0.0.0', 8080), wsgibase,
        resource="socket.io").serve_forever()

Is this Just starting web2py but using socketio's server? 

also why cant i create an admin password?

I would really appreciate a quick overview of how to use sockets if anyone 
has time, I've searched and searched but not sure why I'm not getting it... 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to