http服务和tcp服务之间怎么通信

codebs

服务器上同时开启 http端口9003 和 多进程tcp 端口9005,这两者之前怎么通讯,现在是需求是:手机端通过http请求服务器,触发服务器和设备之间的tcp通讯

3344 1 0
1个回答

latin

http://doc3.workerman.net/component/channel-examples.html
可以用workerman提供的Channel组件,能做到多进程通讯或者服务器间通讯。上面链接正好有例子

年代过于久远,无法发表回答
×
🔝