ThinkChat🤖让你学习和工作更高效,注册即送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`以上版本可用