public function setStreamTimeout($timeout)
  {
    if (preg_match("#[0-9]+#", $timeout))
    {
      $this->PageRequest->socketReadTimeout = $timeout;
      return true;
    }
    else
    {
      return false;
    }
  }
public function setStreamTimeout($timeout)
  {
    if (preg_match("#[0-9]+#", $timeout))
    {
      $this->PageRequest->socketReadTimeout = $timeout;
      return true;
    }
    else
    {
      return false;
    }
  }
public function setStreamTimeout ( $ timeout ) { if ( preg_match ( "#[0-9]+#" , $ timeout ) ) { $ this -> PageRequest -> socketReadTimeout = $ timeout ; return true ; } else { return false ; } }
Sets the timeout in seconds for waiting for data on an established server-connection.

If the connection to a server was be etablished but the server doesnt't send data anymore without
closing the connection, the crawler will wait the time given in timeout and then close the connection.

@param int $timeout The timeout in seconds, the default-value is 2 seconds.
@return bool

@section 10 Other settings
Sets the timeout in seconds for waiting for data on an established server - connection .