public function start() : void { if (!($this->socket = stream_socket_server($this->host, $errno, $errstr))) { throw new \RuntimeException(\sprintf('Server start failed on "%s": ', $this->host) . $errstr . ' ' . $errno); } }