PHPDaemon\BoundSocket\TCP::setDefaultPort PHP Method

setDefaultPort() public method

Sets default port
public setDefaultPort ( $port ) : void
return void
    public function setDefaultPort($port)
    {
        $this->defaultPort = $port;
    }