The class sockbuf
has been modified so that it derives from seqbuf
.
The virtual functions in seqdev
needed for seqbuf
to function
correctly, have been added to sockbuf
. Thus a sockbuf
becomes a fully
functional streambuf
. In this way, the code that "understands"
how to do streambuf
buffering has been moved from sockbuf
to
seqbuf
.