Streambuf class is based on Standard C++ iostream streambuf class.
virtual int overflow(int c_=EOF)
This function is called to consume characters (flush them to output), typically when the put area is ...
Socket * m_s
Reference to the Socket stream.
virtual int showmanyc()
The morphemes of showmanyc are "es-how-many-see", not "show-man-ic".
int sys_read(char *b_, int len_)
virtual int doallocate()
This function is called by allocate when unbuffered() is zero and base() is zero.
int sys_write(char *b_, int len_)
virtual int underflow()
This function is called to supply characters for input (from some source) when the get area is empty,...
virtual int sync()
This function synchronizes the streambuf with its actual stream of characters.