python中的 tcp套接字客户端 如何与uwsgi交谈?
我的架构是
tcp套接字客户端 - > nginx - > uwsgi
tcp套接字客户端 - > uwsgi
答案 0 :(得分:1)
通过将uwsgi
协议与套接字进行对话。协议描述为here in the uWSGI documentation。
Python文档包含a decent tutorial regarding TCP and Unix sockets here。
编辑:有关工作示例,请参阅https://github.com/akx/uwsgi-socket-example。