GoLang Swoole\Server::addlistener

request it (320)
GoLang replacement for PHP's Swoole\Server::addlistener [edit | history]



Do you know a GoLang replacement for PHP's Swoole\Server::addlistener? Write it!

PHP Swoole\Server::addlistener

PHP original manual for Swoole\Server::addlistener [ show | php.net ]

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 void Swoole\Server::addlistener ( string $host , integer $port , string $socket_type )

Parameters

host

port

socket_type

Return Values