apps/files_external/3rdparty/icewind/smb/src/RawConnection.php
/**
	 * check if the connection is still active
	 *
	 * @return bool
	 */
check if the connection is still active
@return bool
check if the connection is still active @return bool
public function isValid() {
		if (is_resource($this->process)) {
			$status = proc_get_status($this->process);
			return $status['running'];
		} else {
			return false;
		}
	}
public function isValid ( ) { if ( is_resource ( $ this -> process ) ) { $ status = proc_get_status ( $ this -> process ) ; return $ status [ 'running' ] ; } else { return false ; } }
check if the connection is still active
 @return bool
check if the connection is still active @return bool