protected function onBound() { if ($this->ev) { $this->ev->getSocketName($this->locHost, $this->locPort); } else { Daemon::log('Unable to bind TCP-socket ' . $this->host . ':' . $this->getPort()); } }