sockstream classes are designed in such a way that they provide the same
interface as their stream counterparts do. We have isockstream
derived from istream
and osockstream
derived from
ostream
. We also have iosockstream
which is derived from
iostream
.
Each domain also has its own set of stream
classes. For example,
unix
domain has isockunix
, osockunix
, and
iosockunix
derived from isockstream
, osockstream
,
and iosockstream
respectively. Similarly, inet
domain has
isockinet
, osockinet
, and iosockinet
.