#include <stream_option.h>
Public Member Functions | |
| virtual | ~option () | 
| Destructor.  | |
| virtual int | level ()=0 | 
| Returns option level.  | |
| virtual int | code ()=0 | 
| Returns option code.  | |
| virtual char * | value ()=0 | 
| Returns option value buffer.   | |
| virtual size_t | size ()=0 | 
| Returns option value buffer size.   | |
Implementations of this interface know about a certain socket level set of options and their expected value buffers.
Definition at line 35 of file stream_option.h.
      
  | 
  
| 
 Returns option value buffer size. If we are getting an option, instead of setting, this will hold the actual size of stored data.  | 
  
      
  | 
  
| 
 Returns option value buffer. This either contains the value to set the option, or will contain the value to get the option.  | 
  
 1.4.3