Twisted multiple protocols

久未见 提交于 2019-12-10 17:27:47

问题


I am looking to learn twisted for a project I am working on. The project would require the server to respond to HTTP requests as well as other protocols over a TCP connection. Is twisted capable of handling multiple protocols at the same time? I want to use Twisted Web to help with the HTTP, but at the same time need to respond to TCP connections over other ports.


回答1:


Definitely, yes. Twisted is a really good choice for this kind of needs, when multiple protocols need to work together.

Look at this question for great learning references.



来源:https://stackoverflow.com/questions/4306256/twisted-multiple-protocols

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