| BOOL IsReadable( | 
             
            
              |   | 
              INT nTimeout, | 
                | 
             
            
              |   | 
              LPDWORD lpdwAvail | 
                | 
             
            
              | ); | 
             
           
         
        
          The IsReadable method is used to determine if data is
          available to be read from the server. 
         
        Parameters
        
          
            - nTimeout
 
            - Timeout for server response, in seconds. A value of zero
            specifies that the connection should be polled without blocking the
            current thread.
            
 
            - lpdwAvail
 
            - A pointer to an unsigned integer which will contain the
            number of bytes available to read. This parameter may be NULL if
            this information is not required.
 
           
         
        Return Value
        
          If the client can read data from the server within the
          specified timeout period, the function returns a non-zero value. If
          the client cannot read any data, the method returns zero. 
         
        Remarks
        
          On some platforms, this value will not exceed the size of the
          receive buffer (typically 64K bytes). Because of differences between
          TCP/IP stack implementations, it is not recommended that your
          application exclusively depend on this value to determine the exact
          number of bytes available. Instead, it should be used as a general
          indicator that there is data available to be read. 
         
        Requirements
        
          Minimum Desktop Platform: Windows 7 Service Pack 1 
          Minimum Server Platform: Windows Server 2008 R2 Service Pack 1 
          Header File: cstools11.h 
          Import Library: csftpv11.lib 
         
        See Also
        
          GetStatus, 
          IsBlocking, 
          IsConnected, 
          IsInitialized, 
          IsWritable, Write 
         
       |