ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# Server->listen 监听一个新的`Server`端口,此方法是[addlistener](https://wiki.swoole.com/wiki/page/16.html)的别名。 ~~~ bool Server->listen(string $host, int $port, int $type); ~~~ > `listen`方法在`1.7.9`以上版本可用