Python + comet + web (chat) - I need working(!) library/server

你离开我真会死。 提交于 2019-12-06 14:08:15

问题


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.



来源:https://stackoverflow.com/questions/6135781/python-comet-web-chat-i-need-working-library-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!