pthreads - PHP 如何实现多线程 socket 编程?
阿神
阿神 2017-04-10 14:41:27
0
2
443

python socket 多人聊天室

上面这个链接里的例子是用 python 写的,使用了多线程和 socket ,有没有 PHP 版的源码?
或者这两种技术都有其他例子的源码。
谢谢!

阿神
阿神

闭关修行中......

répondre à tous(2)
黄舟

张宴博客里写过:http://blog.s135.com/pthreads/

再添加一个:http://www.swoole.com/

洪涛

毫无疑问用swoole。pthread不过是个线程库,目前为止还不够稳定,经常有段错误。
swoole扩展是专门用来开发TCP和UDP服务器的。

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal