PHPDaemon\BoundSocket\TCP::onBound PHP Method

onBound() protected method

Called when socket is bound
protected onBound ( ) : boolean | null
return boolean | null Success
    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());
        }
    }