public function verify($ip, $port)
    {
        $errorNumber = null;
        $errorString = null;
        $fp = @fsockopen($ip, $port, $errorNumber, $errorString, $this->ttl);

        if ($fp) {
            fclose($fp);

            return true;
        }

        return false;
    }