original_string: function open() {
          // let's try to open a socket
          $this->_error_log('open a socket connection');
          $this->sock = fsockopen($this->_socket . $this->_server, $this->_port, $this->_errno, $this->_errstr, $this->_socket_timeout);
          core_php_time_limit::raise(30);
          if (is_resource($this->sock)) {
              socket_set_blocking($this->sock, true);
              $this->_connection_closed = false;
              $this->_error_log('socket is open: ' . $this->sock);
              return true;
          } else {
              $this->_error_log("$this->_errstr ($this->_errno)\n");
              return false;
          }
      }
code: function open() {
          // let's try to open a socket
          $this->_error_log('open a socket connection');
          $this->sock = fsockopen($this->_socket . $this->_server, $this->_port, $this->_errno, $this->_errstr, $this->_socket_timeout);
          core_php_time_limit::raise(30);
          if (is_resource($this->sock)) {
              socket_set_blocking($this->sock, true);
              $this->_connection_closed = false;
              $this->_error_log('socket is open: ' . $this->sock);
              return true;
          } else {
              $this->_error_log("$this->_errstr ($this->_errno)\n");
              return false;
          }
      }
code_tokens: function open ( ) { // let's try to open a socket $ this -> _error_log ( 'open a socket connection' ) ; $ this -> sock = fsockopen ( $ this -> _socket . $ this -> _server , $ this -> _port , $ this -> _errno , $ this -> _errstr , $ this -> _socket_timeout ) ; core_php_time_limit :: raise ( 30 ) ; if ( is_resource ( $ this -> sock ) ) { socket_set_blocking ( $ this -> sock , true ) ; $ this -> _connection_closed = false ; $ this -> _error_log ( 'socket is open: ' . $ this -> sock ) ; return true ; } else { $ this -> _error_log ( "$this->_errstr ($this->_errno)\n" ) ; return false ; } }
docstring: Open's a socket to a webdav server
  @return bool true on success. Otherwise false.
docstring_tokens: Open s a socket to a webdav server