Net/Notifier/Socket/Abstract.php
protected function checkTimeout()
    {
        $info = stream_get_meta_data($this->socket);
        if ($info['timed_out'] || $this->deadline && time() > $this->deadline) {
            $reason = $this->deadline
                ? "after {$this->timeout} second(s)"
                : 'due to default_socket_timeout php.ini setting';

            throw new Net_Notifier_Socket_TimeoutException(
                "Request timed out {$reason}"
            );
        }
    }
protected function checkTimeout()
    {
        $info = stream_get_meta_data($this->socket);
        if ($info['timed_out'] || $this->deadline && time() > $this->deadline) {
            $reason = $this->deadline
                ? "after {$this->timeout} second(s)"
                : 'due to default_socket_timeout php.ini setting';

            throw new Net_Notifier_Socket_TimeoutException(
                "Request timed out {$reason}"
            );
        }
    }
protected function checkTimeout ( ) { $ info = stream_get_meta_data ( $ this -> socket ) ; if ( $ info [ 'timed_out' ] || $ this -> deadline && time ( ) > $ this -> deadline ) { $ reason = $ this -> deadline ? "after {$this->timeout} second(s)" : 'due to default_socket_timeout php.ini setting' ; throw new Net_Notifier_Socket_TimeoutException ( "Request timed out {$reason}" ) ; } }
Throws an exception if stream timed out

@return void

@throws Net_Notifier_Socket_TimeoutException
Throws an exception if stream timed out