protected function makeSocket($timeout = 1)
    {
        return fsockopen(
            'tcp://' . $this->host,
            $this->port,
            $errno,
            $errstr,
            $timeout
        );
    }
protected function makeSocket($timeout = 1)
    {
        return fsockopen(
            'tcp://' . $this->host,
            $this->port,
            $errno,
            $errstr,
            $timeout
        );
    }
protected function makeSocket ( $ timeout = 1 ) { return fsockopen ( 'tcp://' . $ this -> host , $ this -> port , $ errno , $ errstr , $ timeout ) ; }
Really create a new socket.

\param int $timeout
(optional) Timeout for the connection,
in seconds. Defaults to 1 second.

\retval resource
The newly created socket.

@codeCoverageIgnore
Really create a new socket .