smallset_t Class Reference
checks whether data is avaiable on sockets More...
  List of all members.
  
  
  
  Detailed Description
checks whether data is avaiable on sockets
  This is a structure which is used to track whether data is avaible on a series of sockets. As such, it is a replacement for, and actually a wrapper for, the standard Unix poll() and select() functions.
  
  Definition at line 140 of file socket.h.
  
  Constructor & Destructor Documentation
  
  
    
      | 
          
            | smallset_t::smallset_t | ( |  | ) |  |  | 
  
  
  
  
  
  
  Member Function Documentation
  
  
    
      | 
          
            | bool smallset_t::canwrite | ( | int | ix | ) |  |  | 
  
  
    
      |  | Returns true if you can write non-blockingly to the socket at ix. | 
  
  
  
    
      | 
          
            | void smallset_t::check | ( |  | ) |  |  | 
  
  
    
      |  | Check the status of the sockets. | 
  
  
  
    
      | 
          
            | void smallset_t::init | ( | int | ix | ) |  |  | 
  
  
    
      |  | Intiailizes the structure to hold ixsockets. | 
  
  
  
    
      | 
          
            | bool smallset_t::isdata | ( | int | ix | ) |  |  | 
  
  
    
      |  | Returns true if you can read non-blockingly from the socket at ix. | 
  
  
  
    
      | 
          
            | bool smallset_t::iserror | ( | int | ix | ) |  |  | 
  
  
    
      |  | Returns true if an error occured on the socket at ix. | 
  
  
  
    
      | 
          
            | bool smallset_t::ishup | ( | int | ix | ) |  |  | 
  
  
    
      |  | Returns true if the connection was hung up. | 
  
  
  
    
      | 
          
            | void smallset_t::set | ( | int | ix, |  
            |  |  | int | socket |  
            |  | ) |  |  | 
  
  
    
      |  | Adds the socket at the specified index. | 
  
  
  
    
      | 
          
            | void smallset_t::wait | ( | int | msecs | ) |  |  | 
  
  
    
      |  | Wait for at most the specified time until data is received. | 
  
  
  
    
      | 
          
            | void smallset_t::waitwrite | ( | int | msecs | ) |  |  | 
  
  
    
      |  | Wait for at most the specified time until we can write on a socket. | 
  
  
  The documentation for this class was generated from the following file:
  
  
  
    Generated on Fri Dec 24 19:55:17 2004 for Poslib by  1.3.7
 1.3.7