This commit is contained in:
2021-08-04 16:58:10 +08:00
parent 49ffb1386e
commit a04b4447b2
2 changed files with 10 additions and 5 deletions
-1
View File
@@ -229,7 +229,6 @@ class ServerManager extends Abstracts\Server
*/
private function addNewListener(string $type, string $host, int $port, int $mode, array $settings = [])
{
var_dump(func_get_args());
echo sprintf("\033[36m[" . date('Y-m-d H:i:s') . "]\033[0m $type service %s::%d start.", $host, $port) . PHP_EOL;
/** @var Server\Port $service */
$this->ports[$port] = $this->server->addlistener($host, $port, $mode);