Python + comet + web (chat) - I need working(!) li

2020-08-01 12:43发布

问题:

I need working (cross-browser) project (library/server) to build web-chat in comet technology. There are: orbited, orbited2, hookbox, but it seems that are no longer developed (also projects sites are down) and have a lot of bugs.

Any ideas?

Thanks for help!

回答1:

Have a look at Tornado a simple non-blocking webserver written in Python by the facebook team.

The comet behavior can be done with tornadio which makes possible to use socket.io javascript lib with tornado.

There is a chat example in tornadio that may look like what you are looking for. I 've tested it successfully with IE6, Firefox, Chrome and Opera.

I hope it helps



回答2:

Shaveet is a zero-config JSONP/CORS long-polling(AKA comet) server, that has chat apps as examples.



标签: python comet