Home > Backend Development > PHP Tutorial > 想问下 PHP扩展 swoole 的应用场景?

想问下 PHP扩展 swoole 的应用场景?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:27:16
Original
1178 people have browsed it

利用swoole的websocket服务器可以与前台的h5 websocket 互推消息做成聊天室,但是swoole的tcp server,与tcp client适用于哪些应用场景呢,具体有什么例子,本人只做过web开发,对于游戏,桌面软件开发不是很了解。

回复内容:

利用swoole的websocket服务器可以与前台的h5 websocket 互推消息做成聊天室,但是swoole的tcp server,与tcp client适用于哪些应用场景呢,具体有什么例子,本人只做过web开发,对于游戏,桌面软件开发不是很了解。

swoole_server是直接用来做服务器server的,可以代替传统的C/C++实现的server。 swoole_client,可以用在传统的apache-php当中,直接连接其他server即可。

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template