class protocol_stream ifndef WIN32: public iostream endifsubclass if iostream, hide from user the communication details
subclass if iostream, hide from user the communication details. After discovering many-many bugs in NT and VC 5.0 this is replaced by my own stream, not subclassing from iostream
char input_buffer[1024]
unsigned input_buffer_offset
unsigned input_buffer_end
bool before_mark
bool everything_read
std::vector < std::string > messages
const static char prompt[]
const static char command[]
const int genericTimeout
protocol_stream( SOCKET sock, int gen_timeout )
protocol_stream& operator >>( std::string &s )
protocol_stream& operator >>( int &value )
protocol_stream& operator >>( std::vector< std::string > &lines )
protocol_stream& operator <<( const std::string &s )
void wait_input()
bool test_for_input( int millisec )
bool test_for_any_pending_input( int millisec )
bool is_command( const std::string &s )
ifdef WIN32 bool buffer_is_empty()
bool eof()
int peek()
int get( char &location )
char* getline( char *buf, unsigned size )
void skip_to_prompt()
alphabetic index html hierarchy of classes or java