编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Swoole\Server
  • Swoole\Server::addProcess »
  • PHP Manual
  • Swoole\Server
  • Add a new listener to the server.

Swoole\Server::addlistener

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Server::addlistener — Add a new listener to the server.

说明

public Swoole\Server::addlistener ( string $host , integer $port , string $socket_type ) : void

参数

host

port

socket_type

返回值

相关文章
php swoole the swoole redis server classphp iis 函数 creates a new virtual web serverphp runkit 函数 add a new function similar to create functionphp swoole 函数 add new callback functions of a socket into the eventloopphp sdo 函数 add a new type to a modelphp sphinxclient add new integer range filterphp spldoublylinkedlist add/insert a new value at the specified indexphp swoole atomic set a new value to the atomic object.php swoole event add new callback functions of a socket into the eventloop.php swoole http client add a file to the post form.php swoole redis server descriptionphp swoole redis server descriptionphp swoole server add a new listener to the server.php swoole server add a user defined swoole process to the server.php swoole server close a connection to the client.php swoole server check status of the connection.php swoole server get the connection info by file description.php swoole server restart all the worker process.php swoole server start receving data from the connection.php swoole server send data to the client.
关注编程学问公众号
编程学问网 湘ICP备20001732号