ScotlandPHP 2019

Swoole\Server::addlistener

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

Swoole\Server::addlistenerAdd a new listener to the server.

Description

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

Parameters

host

port

socket_type

Return Values

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top